Alvanoid works well (tilting the stick left/right moves the ship, Button 9 resets the game, and Button 10 starts it)
The gamepad connects properly and is recognized
According to the button-mapper example, all of the buttons (including the trigger - maps to Button 0) map to the button one below them (i.e. Button 3 -> Button 2) from 0 until 10 (except button 7, strangely, though I tested it with html5gamepad.com/ and it didn't register so it may be broken). Moving the stick maps to the left analog stick, but the slider doesn't register (html5gamepad.com/ saw it as "Analog 2")
With a cheapy usb "SNES" controller:
Everything works; all the buttons are recognized except...
Wow. That's some thorough testing. Thanks a lot! I will definitely need to create a mapping system, so users can "redefine" the buttons because it seems that the different gamepads all follow different layouts. Thanks again for your help.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Cool library! With my Logitech Attack 3 (amazon.com/9632910403-Logitech-Win...
Alvanoid works well (tilting the stick left/right moves the ship, Button 9 resets the game, and Button 10 starts it)
The gamepad connects properly and is recognized
According to the button-mapper example, all of the buttons (including the trigger - maps to Button 0) map to the button one below them (i.e. Button 3 -> Button 2) from 0 until 10 (except button 7, strangely, though I tested it with html5gamepad.com/ and it didn't register so it may be broken). Moving the stick maps to the left analog stick, but the slider doesn't register (html5gamepad.com/ saw it as "Analog 2")
With a cheapy usb "SNES" controller:
By the way, we might have the same cheap USB "SNES" controller, because mine has the same issue with those buttons.
Wow. That's some thorough testing. Thanks a lot! I will definitely need to create a mapping system, so users can "redefine" the buttons because it seems that the different gamepads all follow different layouts. Thanks again for your help.