/** * useGamepads — polls connected gamepads every frame. * Returns an array of GamepadSnapshot objects (0-8 pads). * Designed for couch mini-games (higher level than InputManager). */ export interface GamepadSnapshot { index: number; up: boolean; down: boolean; left: boolean; right: boolean; dpUp: boolean; dpDown: boolean; dpLeft: boolean; dpRight: boolean; lx: number; ly: number; rx: number; ry: number; a: boolean; b: boolean; x: boolean; y: boolean; lb: boolean; rb: boolean; lt: boolean; rt: boolean; start: boolean; select: boolean; } export declare function useGamepads(): GamepadSnapshot[]; /** * useGamepadEdges — returns snapshots + edge detection (justPressed). * Compares current frame to previous frame for each button. */ export declare function useGamepadEdges(): { pads: GamepadSnapshot[]; justPressed: (padIndex: number, button: keyof GamepadSnapshot) => boolean; };