Represents a keyboard event.
More...
#include <Event.hpp>
Represents a keyboard event.
Definition at line 17 of file Event.hpp.
◆ code
The key that triggered the event.
Definition at line 18 of file Event.hpp.
◆ alt
bool lug::Window::KeyEvent::alt |
True if alt was pressed, False otherwise.
Definition at line 19 of file Event.hpp.
◆ ctrl
bool lug::Window::KeyEvent::ctrl |
True if ctrl was pressed, False otherwise.
Definition at line 20 of file Event.hpp.
◆ shift
bool lug::Window::KeyEvent::shift |
True if shift was pressed, False otherwise.
Definition at line 21 of file Event.hpp.
◆ system
bool lug::Window::KeyEvent::system |
True if system was pressed, False otherwise.
Definition at line 22 of file Event.hpp.
The documentation for this struct was generated from the following file: