Sleeping Wombat GUI
0.100
swGUI
|
KeyStates changed events. More...
#include <InputDeviceEvent.h>
Public Member Functions | |
DeviceEvent () | |
DeviceEvent (KeyEvent evt, Timestamp timestamp) | |
DeviceEvent (CharacterEvent evt, Timestamp timestamp) | |
DeviceEvent (ButtonEvent evt, Timestamp timestamp) | |
DeviceEvent (AxisEvent evt, Timestamp timestamp) | |
DeviceEvent (CursorEvent evt, Timestamp timestamp) | |
DeviceEvent (const DeviceEvent &second) | |
void | operator= (const DeviceEvent &second) |
Public Attributes | |
union { | |
KeyEvent Key | |
CharacterEvent Character | |
ButtonEvent Button | |
AxisEvent Axis | |
CursorEvent Cursor | |
}; | |
DeviceEventType | Type |
Timestamp | LogicalTime |
KeyStates changed events.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
union { ... } |
AxisEvent sw::input::DeviceEvent::Axis |
ButtonEvent sw::input::DeviceEvent::Button |
CharacterEvent sw::input::DeviceEvent::Character |
CursorEvent sw::input::DeviceEvent::Cursor |
KeyEvent sw::input::DeviceEvent::Key |
Timestamp sw::input::DeviceEvent::LogicalTime |
You can compare this counter with counters in other devices, to compare events order. This doesn't work between frames.
DeviceEventType sw::input::DeviceEvent::Type |