Questions tagged [gamepad-api]

The Gamepad specification defines a low-level interface that represents gamepad devices.

The Gamepad specification defines a low-level interface that represents gamepad devices. The Web Gamepad API presents a way to access and use gamepads and other controllers for games. For more information see this: https://wiki.mozilla.org/GamepadAPI

78 questions
-1
votes
1 answer

How to know which button is which on most USB Gamepads?

I am making a game in HTML5+JS and I want it to have USB gamepad support using the Gamepad API, but I want the controls to usually match up with the game. So, if there is a gamepad with the up arrow as the 5th button, and there is a gamepad with the…
idk
  • 11
  • 3
-1
votes
2 answers

How to detect a sequence of button press with gamepad api

I am trying to use the Gamepad API in react to detect a sequence of button or key presses such as the konami code. I found a blog post that shows how to detect when a gamepad is connected and I can do that as well as handle a state change however…
cbutler
  • 833
  • 13
  • 36
-1
votes
1 answer

Is any api doc can tech me support ios7 gamepad now?

I want upgrade my game to support gamepad for ios7. Now I can't find any useful infomation.
zszen
  • 1,428
  • 1
  • 14
  • 18
1 2 3 4 5
6