|
Toast Engine
|
Event sent when user presses a key. More...
#include <window_events.hpp>


Public Member Functions | |
| WindowKey (int key, int scancode, int action, int mods) | |
Public Attributes | |
| int | key |
| SDL key code. | |
| int | scancode |
| SDL scancode. | |
| int | action |
| 0 released, 1 pressed, 2 repeated | |
| int | mods |
| Modifier flags. | |
| Public Attributes inherited from event::Event< WindowKey > | |
| friend | T |
Additional Inherited Members | |
| Public Types inherited from event::Event< WindowKey > | |
| using | callback_t |
| callbacks that return 'true' are consumed and do not propogate | |
| using | iterator_t |
Event sent when user presses a key.