#include <KeyEvent.h>
Definition at line 20 of file KeyEvent.h.
◆ KeyPressedEvent()
| Elevate::KeyPressedEvent::KeyPressedEvent |
( |
int |
keycode, |
|
|
int |
repeatCount |
|
) |
| |
|
inline |
◆ GetRepeatCount()
| int Elevate::KeyPressedEvent::GetRepeatCount |
( |
| ) |
const |
|
inline |
Definition at line 26 of file KeyEvent.h.
26{ return m_RepeatCount; }
◆ ToString()
| std::string Elevate::KeyPressedEvent::ToString |
( |
| ) |
const |
|
inlineoverridevirtual |
Reimplemented from Elevate::Event.
Definition at line 28 of file KeyEvent.h.
29 {
30 std::stringstream ss;
31 ss <<
"KeyPressedEvent: " <<
m_KeyCode <<
" (" << m_RepeatCount <<
" repeats)";
32 return ss.str();
33 }
The documentation for this class was generated from the following file: