s_modifierBits
global · ui
- Address
0x846bd4· 24 bytes, up to0x846beb- Type
uint32_t[6]- Meaning
- Holds the modifier bit index and prefix string of SHIFT-, CTRL- and ALT-, which 0x4b6630 walks downward
- Confidence
- verified, proof one
- Finding
- ui/keybindings#chord-names
Finding: Chord names in ui: key bindings
The client names a key press as modifier prefixes then a key name. The prefixes are ALT-, CTRL-
and SHIFT- in that order, each present only if held (mask bits 4, 2 and 1). A modifier key clears
its own bit, so Shift alone is SHIFT, never SHIFT-SHIFT, and no binding can be named that. Nothing is
built for a key code from 0x30e on, a repeat count above 1, or a name that overflows the 32-byte buffer.
The derivation is in the doc.