Rich key event with key code, modifiers, and repeat state.
More...
#include <input_events.hpp>
Rich key event with key code, modifiers, and repeat state.
◆ isAltDown()
| bool pulp::view::KeyEvent::isAltDown |
( |
| ) |
const |
|
inline |
◆ isCmdDown()
| bool pulp::view::KeyEvent::isCmdDown |
( |
| ) |
const |
|
inline |
◆ isCtrlDown()
| bool pulp::view::KeyEvent::isCtrlDown |
( |
| ) |
const |
|
inline |
◆ isMainModifier()
| bool pulp::view::KeyEvent::isMainModifier |
( |
| ) |
const |
|
inline |
◆ isShiftDown()
| bool pulp::view::KeyEvent::isShiftDown |
( |
| ) |
const |
|
inline |
◆ is_down
| bool pulp::view::KeyEvent::is_down = true |
True for key-down, false for key-up.
◆ is_repeat
| bool pulp::view::KeyEvent::is_repeat = false |
True if this is a key repeat.
◆ key
◆ modifiers
| uint16_t pulp::view::KeyEvent::modifiers = 0 |
The documentation for this struct was generated from the following file: