#include <GizmoLinuxInputEvent.hpp>
Public Member Functions | |
GizmoLinuxInputEvent () | |
Default Constructor. | |
GizmoLinuxInputEvent (struct input_event const &InputEvent) | |
Init Constructor. | |
virtual | ~GizmoLinuxInputEvent () |
Destructor. | |
Public Attributes | |
unsigned short | RawType |
Raw type of the event. | |
unsigned short | RawCode |
Raw code of the event. | |
GizmoTimeVal | TimeStamp |
Time stamp of the event. | |
GizmoKey | Code |
Human decipherable code of the event. | |
GizmoEventType | Type |
Human decipherable type of the event. | |
int | Value |
Value of the event -- For Standard button events, this value will be 0 if a button is unpressed, 1 if pressed, and 2 if held and repeat events are generated. | |
Friends | |
class | boost::serialization::access |
Definition at line 78 of file GizmoLinuxInputEvent.hpp.
GizmoLinuxInputEvent::GizmoLinuxInputEvent | ( | ) |
Default Constructor.
GizmoLinuxInputEvent Default Constructor.
Definition at line 48 of file GizmoLinuxInputEvent.cpp.
GizmoLinuxInputEvent::GizmoLinuxInputEvent | ( | struct input_event const & | InputEvent | ) |
Init Constructor.
GizmoLinuxInputEvent Init Constructor.
Definition at line 54 of file GizmoLinuxInputEvent.cpp.
References Code, Gizmod::GizmoTimeVal::MicroSeconds, RawCode, RawType, Gizmod::GizmoTimeVal::Seconds, TimeStamp, Type, and Value.
GizmoLinuxInputEvent::~GizmoLinuxInputEvent | ( | ) | [virtual] |
Destructor.
GizmoLinuxInputEvent Destructor.
Definition at line 67 of file GizmoLinuxInputEvent.cpp.