Initializes the KeyEvent.
|
Parameters |
Description |
|
EventType eventType = Unknown |
The event type that took place, either KeyDown or KeyUp. |
|
Key::Code code = Key::None |
The key code of the key that was pressed or released. |
|
UByte asciiCode = 0 |
ASCII code of the event type. |
|
UInt32 wcharCode = 0 |
Unicode of the event type. |
|
UInt8 keyboardIndex = 0 |
The index of the keyboard controller. |
|
KeyModifiers mods |
The state of the key modifiers. |