s_virtualKeyCases
global · core
- Address
0x42da60· 156 bytes, up to0x42dafb- Type
void *[39]- Meaning
- Holds the case addresses of the virtual key translation's fixed table
- 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.