Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Gamepad

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

Readonly axes

axes: ReadonlyArray<number>

Readonly buttons

Readonly connected

connected: boolean

Readonly hand

Readonly hapticActuators

Readonly id

id: string

Readonly index

index: number

Readonly mapping

Readonly pose

pose: GamepadPose | null

Readonly timestamp

timestamp: number

Generated using TypeDoc