Classes
GamepadButton
Defines an individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device.
See
https://developer.mozilla.org/docs/Web/API/GamepadButton
Implements
Properties
Property | Type | Description |
---|---|---|
pressed | boolean | MDN Reference |
touched | boolean | MDN Reference |
value | number | MDN Reference |