The KeyModifiers JavaScript global object. Query key modifiers.
More...
The KeyModifiers JavaScript global object. Query key modifiers.
◆ IsAlternatePressed
bool KeyModifiers::IsAlternatePressed |
( |
| ) |
|
|
slot |
Check if the Alt key is pressed.
- Returns
- Returns true if the Alt key is pressed. Returns false if not.
◆ IsControlPressed
bool KeyModifiers::IsControlPressed |
( |
| ) |
|
|
slot |
Check if the Ctrl key is pressed.
- Returns
- Returns true if the Ctrl key is pressed. Returns false if not.
◆ IsShiftPressed
bool KeyModifiers::IsShiftPressed |
( |
| ) |
|
|
slot |
Check if the Shift key is pressed.
- Returns
- Returns true if the Shift key is pressed. Returns false if not.
◆ IsSpacePressed
bool KeyModifiers::IsSpacePressed |
( |
| ) |
|
|
slot |
Check if the space key is pressed.
- Returns
- Returns true if the space key is pressed. Returns false if not.