Gamepad
Widely available since 2019-09-27
The navigator.getGamepads()
API accesses and responds to signals from game controllers.
Learning resources on MDN
Browser support (view on caniuse.com)
- Chrome 35 Released on 2014-05-20
- Chrome Android 35 Released on 2014-05-20
- Edge 12 Released on 2015-07-29
- Firefox 29 Released on 2014-04-29
- Firefox for Android 32 Released on 2014-09-02
- Safari 10.1 Released on 2017-03-27
- Safari on iOS 10.3 Released on 2017-03-27
Specifications
- Gamepad, from Web Applications Working Group (W3C).
View web-platform-tests results for this feature - View the feature source file - Edit the feature - Report an issue about this feature