MODIFIER_STATE_CHANGED
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
declare event MODIFIER_STATE_CHANGED(key: string, down: number)Payload
| # | name | type | description |
|---|---|---|---|
| 1 | key | string | The modifier key, such as "LSHIFT" or "RCTRL". |
| 2 | down | number | 1 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.