Widely Available
Gamepad
id: gamepad
Gamepad
The
navigator.getGamepads() API accesses and responds to signals from game controllers.
Baseline Status:
Achieved Widely Available on Sep 27, 2019 (Cross-browser Newly Available since Mar 27, 2017).
Desktop Browser Engine Support
Google Chrome
35
Supported
Mozilla Firefox
29
Supported
Apple Safari
10.1
Supported
Microsoft Edge
12
Supported
Mobile Browser Engine Support
Chrome Android
35
Firefox Android
32
Safari iOS
10.3
Specifications and References
MDN Browser Compat Data Keys:
api.Gamepad ↗
api.Gamepad.axes ↗
api.Gamepad.buttons ↗
api.Gamepad.connected ↗
api.Gamepad.id ↗
api.Gamepad.index ↗
api.Gamepad.mapping ↗
api.Gamepad.timestamp ↗
api.GamepadButton ↗
api.GamepadButton.pressed ↗
api.GamepadButton.value ↗
api.GamepadEvent ↗
api.GamepadEvent.GamepadEvent ↗
api.GamepadEvent.gamepad ↗
api.Navigator.getGamepads ↗
api.Window.gamepadconnected_event ↗
api.Window.gamepaddisconnected_event ↗
html.elements.iframe.allow.gamepad ↗