Skip to main content

Module keymap

Module keymap 

Source
Expand description

Keymap: the lookup from key chords and controller buttons to a game’s actions, plus the key-repeat timings (game ADR-0015, game ADR-0031, game ADR-0034). Generic over the game’s ActionSet (ticket 1106).

Structs§

Keymap
Lookup from chord, and from controller button or button chord, to actions, plus repeat and chord timings. A chord or button is on at most one action of each group (game ADR-0068), so one press can give an action of each group: the screen on top reacts to the ones it uses.

Enums§

ChordWait
How long a controller button that is in a button chord holds back its own actions, so that pressing its partner can fire the chord instead (ticket 1034). See Keymap::chord_wait.