benilla-re systems structs docs

BuildKeyChord

function · ui · primitive

Address
0x4b66b0 · 638 bytes, up to 0x4b692d
Signature
bool __fastcall (void *keyEvent, char *dst, int size)
Meaning
Builds the chord string of a key event, or fails for an unnamed or oversized one
Confidence
verified, proof one
Finding
ui/keybindings#key-names

Finding: Key names in ui: key bindings

The key name by code: 0 SHIFT, 1 CTRL, 2 ALT; 0x20 SPACE; 0x21 to 0xff the character in UTF-8; 0x100 to 0x109 NUMPAD0 to NUMPAD9; 0x10a to 0x10e NUMPADPLUS, NUMPADMINUS, NUMPADMULTIPLY, NUMPADDIVIDE, NUMPADDECIMAL; 0x200 to 0x20f ESCAPE, ENTER, BACKSPACE, TAB, LEFT, UP, RIGHT, DOWN, INSERT, DELETE, HOME, END, PAGEUP, PAGEDOWN, CAPSLOCK, NUMLOCK; 0x212 PRINTSCREEN; 0x300 to 0x30b F1 to F12; 0x30c NUMPADEQUALS; 0x30d F16. Every other code is UNKNOWN, so Scroll Lock and Pause cannot be bound.

The derivation is in the doc.

Callers 2

Callees 5

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