Class Gamepad

Defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id.

Implements

Properties

axes: readonly number[]
buttons: readonly GamepadButton[]
connected: boolean
deviceType: number
id: string
index: number
rawButtons: bigint
styleSet: number
timestamp: number
vibrationActuator: GamepadHapticActuator