Skip to content

five-on-it / apps/client/src/ui/bindings

apps/client/src/ui/bindings ​

Key remapping (decided 2026-10-12: the one accessibility setting): the game's actions, the keys they are bound to by default (today's keys), the player's own bindings kept in the settings, and the translation the keyboard applies: a key pressed for the game becomes the default key of the action it is bound to, so everything that reads keys (the input, the game loop's one-shot presses, the double tap of the boost) keeps reading the default ones, and a default key bound to nothing any more is ignored. Escape, Enter, the number keys and the mouse are fixed. The labels every text shows are the player's keys (keyLabels, set as i18next's default variables k.<action>).

Interfaces ​

Type Aliases ​

Variables ​

Functions ​