AppendModifierPrefixes
function · ui · primitive
- Address
0x4b6630· 114 bytes, up to0x4b66a1- Signature
void __fastcall (uint32_t mask, char **cursor, int *remaining)- Meaning
- Appends ALT-, CTRL- and SHIFT- to a chord string for the held modifiers
- 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.
Callers 2
- BuildKeyChord ui
- BuildMouseChord ui
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.