|
Colobot
|
Additional data for keyboard event. More...
#include <event.h>

Public Member Functions | |
| std::unique_ptr< EventData > | Clone () const override |
Public Attributes | |
| bool | virt = false |
| If true, the key is a virtual code generated by certain key modifiers or joystick buttons. | |
| unsigned int | key = 0 |
| Key symbol: KEY(...) macro value or virtual key VIRTUAL_... (from common/key.h) | |
| unsigned int | unicode = 0 |
| InputSlot | slot = INPUT_SLOT_LEFT |
| Input binding slot for this key. | |
Additional data for keyboard event.
| unsigned int KeyEventData::unicode = 0 |
Unicode character NOTE: applicable only to EVENT_KEY_DOWN events!
1.8.9.1