Classes
Gamepad
Defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id.
See
https://developer.mozilla.org/docs/Web/API/Gamepad
Implements
Properties
Property | Modifier | Type |
---|---|---|
axes | readonly | readonly number [] |
buttons | readonly | readonly GamepadButton [] |
connected | readonly | boolean |
deviceType | readonly | number |
id | readonly | string |
index | readonly | number |
mapping | readonly | GamepadMappingType |
rawButtons | readonly | bigint |
styleSet | readonly | number |
timestamp | readonly | number |
vibrationActuator | readonly | GamepadHapticActuator |