benilla-re systems structs docs

s_modifierPrefixes

global · ui

Address
0x846bec · 24 bytes, up to 0x846c03
Type
uint32_t[6]
Meaning
Holds the prefix strings SHIFT-, CTRL- and ALT- with their lengths 6, 5 and 4, which the key strip loop walks
Confidence
verified, proof one
Finding
ui/keybindings#valid-key-strings

Finding: Valid key strings in ui: key bindings

0x4b7890 accepts a key string after stripping any number of leading SHIFT-, CTRL- and ALT-, in any order, if the rest is exactly one character; or begins with F, NUMPAD or BUTTON followed only by digits; or is one of 26 names (below). All compares are case-sensitive, so shift-w and mousewheelup are refused though the lookup ignores case, while a lower-case single character is accepted. The empty string is accepted. A bare modifier is refused.

The derivation is in the doc.