Tracks the side-specific client keys that contribute to one modifier flag.
More...
|
| bool | any_pressed () const |
| | Return whether any key for this modifier remains pressed.
|
|
|
bool | generic_pressed = false |
| | Whether the side-less modifier key is pressed.
|
|
bool | left_pressed = false |
| | Whether the left modifier key is pressed.
|
|
bool | right_pressed = false |
| | Whether the right modifier key is pressed.
|
Tracks the side-specific client keys that contribute to one modifier flag.
◆ any_pressed()
| bool input::modifier_state_t::any_pressed |
( |
| ) |
const |
|
inlinenodiscard |
Return whether any key for this modifier remains pressed.
- Returns
- true when the generic, left, or right key is pressed.
The documentation for this struct was generated from the following file: