import { type Gamepad } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";
This Gamepad API export interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id.
Properties
readonly
buttons: ReadonlyArray<GamepadButton>readonly
hand: GamepadHandreadonly
hapticActuators: ReadonlyArray<GamepadHapticActuator>readonly
mapping: GamepadMappingTypereadonly
pose: GamepadPose | null