key_down¶
Emitted when any keyboard key is pressed.
Parameters¶
key_down
: string - Event name.keyCode
: number - ID of the key.keyName
: string - Name of the key.modifiers
: integer - Flags of pressed modifiers.isHeld
: string - Whether the key is being held down.
Modifiers flag¶
Value | Key |
---|---|
0 | None |
1 | Left Shift |
2 | Right Shift |
4 | Left Alt |
8 | Right Alt |
16 | Left Control |
32 | Right Control |
Last update:
March 11, 2023
Created: March 11, 2023
Created: March 11, 2023