benilla-re systems structs docs

s_caseIndexes4b6aa0

global · ui

Address
0x4b6c40 · 16 bytes, up to 0x4b6c4f
Type
uint8_t[16]
Meaning
Holds the 16 case indexes of the switch in 0x4b6aa0
Confidence
inferred
Finding
ui/keybindings#mouse-names

Finding: Mouse names in ui: key bindings

0x4b6aa0 names a mouse event the same way, with the modifier mask from the event's +0x1c. A wheel event is MOUSEWHEELUP for a delta of 0 or more and MOUSEWHEELDOWN below. The buttons are named by the single bit of the button mask: bit 1 BUTTON1, bit 2 BUTTON3, bit 4 BUTTON2, bit 8 BUTTON4, bit 0x10 BUTTON5, and a higher bit BUTTON<n> counted from bit 3. So the middle button is BUTTON3 and the right is BUTTON2.

The derivation is in the doc.