benilla-re systems structs docs

Script::IsControlKeyDown

function · ui · orchestration

Address
0x4885c0 · 50 bytes, up to 0x4885f1
Signature
int __fastcall (lua_State *L)
Meaning
Returns 1 when the Control key is held, else nil
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/cvarverbs#modifier-keys-and-layout-mode

Finding: Modifier keys and layout mode in ui: CVar, option and engine information verbs

IsShiftKeyDown(), IsControlKeyDown() and IsAltKeyDown() ask EventIsKeyDown for modifier 0, 1 and 2 and return the number 1 or nil. SetLayoutMode([n]) stores the truncated n, or 1 when n is not a number, in the top frame's field +0xcf8. GetMouseFocus() returns the object the top frame holds at +0x7c as a Lua frame, binding its registry reference first when it has none, or nil. SetEuropeanNumbers([flag]) stores its flag, true when absent, in the number formatting switch 0xcf4d24.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

Calls and jumps by a bare address, from tables/calls.tsv.