Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Gamepad

Package version

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

connected

connected: boolean

hand

hapticActuators

id

id: string

index

index: number

mapping

pose

pose: GamepadPose | null

timestamp

timestamp: number

Generated using TypeDoc