Options
All
  • Public
  • Public/Protected
  • All
Menu

This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id.

Hierarchy

  • Gamepad

Index

Properties

axes

axes: ReadonlyArray<number>

buttons

buttons: ReadonlyArray<GamepadButton>

connected

connected: boolean

hand

hapticActuators

hapticActuators: ReadonlyArray<GamepadHapticActuator>

id

id: string

index

index: number

mapping

pose

pose: GamepadPose | null

timestamp

timestamp: number

Generated using TypeDoc