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 | Description | 
|---|---|---|---|
| axes | readonly | readonly number[] | MDN Reference | 
| buttons | readonly | readonly GamepadButton[] | MDN Reference | 
| connected | readonly | boolean | MDN Reference | 
| deviceType | readonly | number | - | 
| id | readonly | string | MDN Reference | 
| index | readonly | number | MDN Reference | 
| mapping | readonly | GamepadMappingType | MDN Reference | 
| rawButtons | readonly | bigint | - | 
| styleSet | readonly | number | - | 
| timestamp | readonly | number | MDN Reference | 
| vibrationActuator | readonly | GamepadHapticActuator | MDN Reference |