benilla-re systems structs docs

s_textEnableMouseWheel

global · ui

Address
0x879164 · 17 bytes, up to 0x879174
Type
char[17]
Meaning
Holds EnableMouseWheel, a frame method name
Confidence
verified, proof one
Finding
ui/mouse#switching-input-kinds

Finding: Switching input kinds in ui: which frames take the mouse

The attribute enableMouse enables the mouse when it parses true and does nothing when it is false; enableKeyboard likewise enables keys and characters. Neither can disable. The Lua EnableMouse(flag) can: it reads its flag with a default of true, so EnableMouse() enables and EnableMouse(nil) disables. The wheel and keyboard calls work the same. A disable runs the removal tail of ui/input, an enable does not ask for a new hover pick. IsMouseEnabled() reads bit 2 and nothing else and returns the number 1 or nil, never a boolean; IsMouseWheelEnabled() reads bit 3.

The derivation is in the doc.