Skip to content

API Interface InputAccessibility

github-actions[bot] edited this page Nov 24, 2026 · 3 revisions

Interface: InputAccessibility

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

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:24

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:18

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


invertY?

invertY?: string[];

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

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


repeat?

repeat?: object;

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

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.

actions?

actions?: string[];

delay

delay: number;

interval

interval: number;

sensitivity?

sensitivity?: Record<string, number>;

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

Multipliers by action (look sensitivity).

Clone this wiki locally