Skip to content

API Interface InputAccessibility

github-actions[bot] edited this page Dec 1, 2026 · 3 revisions

Interface: InputAccessibility

Defined in: src/engine/input/profiles.ts:17

Accessibility settings, per player (Rewired's input behaviours). Action names may be "set.Id:action" or bare.

Properties

deadzone?

deadzone?: number;

Defined in: src/engine/input/profiles.ts:25

Replaces the stick dead zone (default 0.15) on every mapping that reads a stick or stick axis.


holdToToggle?

holdToToggle?: string[];

Defined in: src/engine/input/profiles.ts:19

Button actions that toggle on each press instead of being held.


invertY?

invertY?: string[];

Defined in: src/engine/input/profiles.ts:21

Vector or axis actions whose Y (or value) is flipped: look inversion.


repeat?

repeat?: object;

Defined in: src/engine/input/profiles.ts:36

Repeat rate: a button action kept triggered (held, past any hold trigger) performs again delay seconds after it first performed, then every interval seconds while it stays triggered: each repeat sets performed for that frame (and tick) and appends a performed ActionEvent, as a key repeat does, so menus step through items while a direction is held. actions limits it to those button actions (bare or "set.Id:action" names); without it, every button action repeats. delay must be at least 0 and interval above 0. At most one repeat per frame. enabled: false turns repeat off while keeping its timing and actions (a settings screen's switch, saved with the profile, ADR 0656); absent or true, it's on.

actions?

actions?: string[];

delay

delay: number;

enabled?

enabled?: boolean;

interval

interval: number;

sensitivity?

sensitivity?: Record<string, number>;

Defined in: src/engine/input/profiles.ts:23

Multipliers by action (look sensitivity).

Clone this wiki locally