GamepadSnapshot
Defined in: src/modules/input/gamepad-provider.ts:84
Minimal structural view of a Gamepad snapshot — only the fields the
provider reads. Real consumers get this from navigator.getGamepads();
tests can pass a plain object.
Properties
Section titled “Properties”
readonlyaxes: readonlynumber[]
Defined in: src/modules/input/gamepad-provider.ts:85
buttons
Section titled “buttons”
readonlybuttons: readonlyobject[]
Defined in: src/modules/input/gamepad-provider.ts:86
connected
Section titled “connected”
readonlyconnected:boolean
Defined in: src/modules/input/gamepad-provider.ts:87