benilla-re systems structs docs

IsValidBindingKey

function · ui · primitive

Address
0x4b7890 · 251 bytes, up to 0x4b798a
Signature
bool __fastcall (const char *key)
Meaning
Answers whether a key string is bindable
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.

Callers 1

Callees 2

Calls and jumps by a bare address, from tables/calls.tsv.