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. More... | |
unsigned int | key = 0 |
Key symbol: KEY(...) macro value or virtual key VIRTUAL_... (from common/key.h) More... | |
InputSlot | slot = INPUT_SLOT_MAX |
Input binding slot for this key. More... | |
Additional data for keyboard event.
bool KeyEventData::virt = false |
If true, the key is a virtual code generated by certain key modifiers or joystick buttons.
unsigned int KeyEventData::key = 0 |
Key symbol: KEY(...) macro value or virtual key VIRTUAL_... (from common/key.h)
InputSlot KeyEventData::slot = INPUT_SLOT_MAX |
Input binding slot for this key.