benilla-re systems structs docs

s_textEnableKeyboard

global · ui

Address
0x87860c · 15 bytes, up to 0x87861a
Type
char[15]
Meaning
Holds enableKeyboard, the frame attribute that enables keys and characters
Confidence
verified, proof two
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.