s_virtualKeyIndex
global · core
- Address
0x42dafc· 138 bytes, up to0x42db85- Type
uint8_t[138]- Meaning
- Holds the case index of the virtual key translation for keys 8 to 0x91
- Confidence
- verified, proof one
- Finding
- core/input#key-codes
Finding: Key codes in core: window input
The window procedure translates the virtual key before queuing: F1 to F12 become 0x300 to 0x30b,
the digit keys keep their codes, a fixed table names Shift, Control and Alt (0, 1, 2), the
editing, navigation and keypad keys, Escape, Pause, Caps, Num and Scroll Lock and Print Screen,
and every other key becomes its MapVirtualKeyA(vk, 2) character. A key whose character is 0 or
above 0xff is dropped. The scan code is never read.
The derivation is in the doc.