v0.13.8

MODIFIER_STATE_CHANGED

eventimplementedC_KeyBindingsavailable in: camelot

Fires when a modifier key (Shift, Ctrl or Alt) is pressed or released. Blizzard's secure state drivers re-evaluate their macro conditions on it. · description by wowlua

declarationwowlua
declare event MODIFIER_STATE_CHANGED(key: string, down: number)

Payload

#nametypedescription
1keystringThe modifier key, such as "LSHIFT" or "RCTRL".
2downnumber1 when the key was pressed, 0 when it was released.

Blizzard's documentation marks the event as synchronous.

In wowlua's emulated client

implementedThe emulator fires it on its own, from its input model. what the statuses mean

sources

Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (KeyBindings system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.