import type { GamepadAxisKind, GamepadButtonKind, GamepadMapping, GamepadStickOutput } from './types.ts'; /** * Filters one gamepad axis through a simple dead zone (TS `applyGamepadAxisDeadZone`). */ export declare function applyGamepadAxisDeadZone(value: number, deadZone: number): number; /** * Filters a two-dimensional stick through a radial dead zone (TS * `applyGamepadStickDeadZone`). Direction is preserved and the magnitude is rescaled to [0, 1]. * Alias-safe: the coordinates are captured before `out` is written. */ export declare function applyGamepadStickDeadZone(out: GamepadStickOutput, x: number, y: number, deadZone: number): void; /** * Returns the semantic axis name for a standard-mapping index (TS `getGamepadAxisName`). */ export declare function getGamepadAxisName(mapping: GamepadMapping, index: number): GamepadAxisKind | undefined; /** * Returns the semantic button name for a standard-mapping index (TS `getGamepadButtonName`). */ export declare function getGamepadButtonName(mapping: GamepadMapping, index: number): GamepadButtonKind | undefined; //# sourceMappingURL=inputGamepad.d.ts.map