Hey! I know that you want to use joysticks and gamepads in your HTML/JavaScript games, so what are you waiting for? Check out Boomstick and give it a shot.
This cross-platform, multi-browser extension gives JavaScript access to all joysticks on all platforms. Pretty rad.
Right now I’m having great results with it in my game Red Ice. It can support up to 8 joysticks straight away, so don’t worry.
If you use any browser on Windows, then run the Windows installer.
If you’re using Chrome on any OS, bust out the Chrome Extension
Once you’ve got it plug in a joystick and check out the readme for how to access joystick data. Or you could just start developing on PixieEngine which has libraries for joystick handling built in.
But at any rate, use it, abuse it, and let me know what awesome games you make (also if you encounter any bugs or issues.)
Peace!