HTML5-JavaScript-Gamepad-Controller-Library icon indicating copy to clipboard operation
HTML5-JavaScript-Gamepad-Controller-Library copied to clipboard

Library for accessing gamepads in modern browsers.

Results 9 HTML5-JavaScript-Gamepad-Controller-Library issues
Sort by recently updated
recently updated
newest added

the BUTTON_DOWN one works but the BUTTON_UP one does nothing

Hi all, for several weeks the chrome console has been returning the following message: "gamepad.js: 34 getGamepad will now require Secure Context. Please update your application accordingly. For more information...

Heya! The problem is that when you press any button, the gamepad is disconnected and reconnected This happens on Button up event, for some reason "gamepads.indexOf(gamepad)" return -1 and disconnect...

how can I make mappings ? is there any guide or tutorial ?? an example maybe ?!

Maybe if a special option is passed, the `Gamepad` could synthesise `gamepadconnected` and `gamepaddisconnected` events. Using a `requestAnimationFrame` loop, we would just check the state of `navigator.getGamepads()`. Not sure if...

I was confused about `FACE_1`, `FACE_2`, `FACE_3`, and `FACE_4` until I read http://www.html5rocks.com/en/tutorials/doodles/gamepad/ and used http://www.html5rocks.com/en/tutorials/doodles/gamepad/gamepad-tester/tester.html I'm still unsure of `SELECT_BACK` and `START_FORWARD`. The aforementioned tutorial refers to `SELECT` and...

It's kind of hard to read (count) the indices in the `array`s to figure out which buttons/axes are mapped to which indices. It would be nice if we could specify...

Hi, Awesome project! Saves me a lot of time. I've got it working on windows, but the mapping in chrome / linux with my xbox 360 controller is wrong. I've...

I've got an older Logitech gamepad, which is reported as "Gamepad #0: 046d-c216-Logitech Logitech Dual Action (logitech)" and looks like this one: http://www.geeks.com/details.asp?invtid=963292-0403 Notable difference to current ones: ABXY buttons...