Map gamepad buttons and axes to keyboard keys
Gamepad to Keyboard Mapper will allow you to map Gamepad buttons and axes to keyboard buttons. It opens the door for using a game controller or joypad for online games that only have keyboard support. This has been tested and works with Chrome OS.
Simply click the extension icon, and then add, delete, or edit mappings. Gamepad buttons go on the left, and keyboard keys on the right. When you are entering a gamepad button number, just press the button on your controller. When you are entering a key, just press the key on your keyboard.
Note: When visiting a page, you must first press a button to activate the gamepad API. Keep this in mind - your first button press on a page or while adding mappings will not be registered.