Skip to content

Documentation / @debuffjp/input / PadState

Interface: PadState ​

Defined in: gamepad.ts:29

The parts of a Gamepad that Gamepads reads; null means no pad is connected.

Properties ​

axes ​

axes: readonly number[]

Defined in: gamepad.ts:31


buttons ​

buttons: readonly object[]

Defined in: gamepad.ts:30