import { type Gamepad } from "https://deno.land/x/evt@v2.5.3/lib/types/lib.dom.ts";
This Gamepad API 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