15 : m_KeyCode(keycode) {}
24 :
KeyEvent(keycode), m_RepeatCount(repeatCount) {}
31 ss <<
"KeyPressedEvent: " << m_KeyCode <<
" (" << m_RepeatCount <<
" repeats)";
38 int m_RepeatCount = 0;
50 ss <<
"KeyReleasedEvent: " << m_KeyCode;
57 int m_RepeatCount = 0;
69 ss <<
"KeyTypedEvent: " << m_KeyCode;
76 int m_RepeatCount = 0;
#define EVENT_CLASS_TYPE(type)
#define EVENT_CLASS_CATEGORY(category)
int GetRepeatCount() const
std::string ToString() const override
KeyPressedEvent(int keycode, int repeatCount)
KeyReleasedEvent(int keycode)
std::string ToString() const override
std::string ToString() const override
KeyTypedEvent(int keycode)