Event triggered when the keyboard key is pressed.
More...
#include <KeyEvent.h>
|
| KeyEvent (int keycode) |
| A constructor.
|
|
int | m_KeyCode |
|
bool | m_Handled = false |
|
Event triggered when the keyboard key is pressed.
◆ KeyPressedEvent()
Karma::KeyPressedEvent::KeyPressedEvent |
( |
int | keycode, |
|
|
int | repeatCount ) |
|
inline |
◆ GetRepeatCount()
int Karma::KeyPressedEvent::GetRepeatCount |
( |
| ) |
const |
|
inline |
Getter for key repeat counter.
- Since
- Karma 1.0.0
◆ ToString()
std::string Karma::KeyPressedEvent::ToString |
( |
| ) |
const |
|
inlineoverridevirtual |
String representation of the event.
- Since
- Karma 1.0.0
Reimplemented from Karma::Event.
The documentation for this class was generated from the following file: