|
SDEngine
Game Engine
|
#include <keyboard_events.hpp>
Inheritance diagram for sd::KeyPressedEvent:
Collaboration diagram for sd::KeyPressedEvent:Public Member Functions | |
| KeyPressedEvent (int key, int scancode, int mods, bool repeat) | |
Public Member Functions inherited from sd::Event | |
| virtual | ~Event ()=default |
| virtual const char * | get_name () const =0 |
| virtual EventType | get_event_type () const =0 |
| virtual int | get_category_flags () const =0 |
| bool | is_in_category (EventCategory category) const |
Public Attributes | |
| int | key {} |
| int | scancode {} |
| int | mods {} |
| bool | repeat {} |
| int sd::KeyPressedEvent::key {} |
| int sd::KeyPressedEvent::mods {} |
| bool sd::KeyPressedEvent::repeat {} |
| int sd::KeyPressedEvent::scancode {} |