benilla-re systems structs docs

s_windowRecordCases

global · core

Address
0x423b10 · 60 bytes, up to 0x423b4b
Type
void *[15]
Meaning
Holds the case addresses of the window record switch 0x4239a0 for kinds 0 to 14
Confidence
verified, proof one
Finding
core/input#kinds-to-categories

Finding: Kinds to categories in core: window input

0x4239a0 switches on the kind. Most kinds dispatch one category to the context's handlers; kinds 0 and 2 can dispatch several, kinds 6 and 0xd also dispatch 0xf when they end the mouse mode (Buttons and capture), and 5 and 0xe dispatch none.

kindhandlercategory
00x423b700xe for each held button, lowest bit first, marked synthetic
1 / 20x423bb0 / 0x423be01, once per character of a run
3 / 40x423c30 / 0x423c700x1b with the code page / 0x1c
5 / 0xe0x423b50none: on the confirm-close query's consent, quit (Close and quit)
60x423cb02, after clearing the modifier and button masks
7 / 80x423d00 / 0x423d508 / 9, keeping modifier bits for keys 0 to 2
9 / 0xd0x423db0 / 0x4240b00xb / 0xe, keeping the button mask
0xa / 0xc0x423fe0 / 0x4240500xc / 0xd
0xb0x4241300x10

The derivation is in the doc.