Base class for keyboard input events. More...
#include <KeyEvent.h>
Public Member Functions | |
int | GetKeyCode () const |
![]() | |
virtual EventType | GetEventType () const =0 |
virtual const char * | GetName () const =0 |
virtual int | GetCategoryFlags () const =0 |
virtual std::string | ToString () const |
bool | IsInCategory (EventCategory category) |
Protected Member Functions | |
KeyEvent (int keyCode) | |
Protected Attributes | |
int | m_KeyCode |
Additional Inherited Members | |
![]() | |
bool | Handled = false |
Base class for keyboard input events.
Abstract base class that provides common functionality for all keyboard-related events. Stores and provides access to the keycode of the affected key.