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. Available only in secure contexts.

Hierarchy

  • Gamepad

Index

Properties

axes: readonly number[]
buttons: readonly internal.GamepadButton[]
connected: boolean
hapticActuators: readonly internal.GamepadHapticActuator[]
id: string
index: number
timestamp: number

Generated using TypeDoc