import { type Gamepad } from "https://deno.land/x/windmill@v1.361.1/node_modules/evt/lib/types/lib.dom.d.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