#include <GizmoATIX10.hpp>
Public Member Functions | |
virtual std::string | getType () |
Get the type of the Gizmo. | |
virtual bool | processEvent (GizmoEvent *pEvent) |
Process an event. | |
GizmoATIX10 () | |
Serialize Constructor. | |
GizmoATIX10 (const H::DeviceInfo &deviceInfo, int DeviceID, int DeviceClassID) | |
Default Constructor. | |
virtual | ~GizmoATIX10 () |
Destructor. | |
Friends | |
class | boost::serialization::access |
This class contains all of the helper functions for making use of ATIX10 devices
Definition at line 62 of file GizmoATIX10.hpp.
GizmoATIX10::GizmoATIX10 | ( | ) |
Serialize Constructor.
GizmoATIX10 Serialize Constructor.
Definition at line 70 of file GizmoATIX10.cpp.
References GIZMO_ATIX10_EVENTDELAY, and Gizmod::GizmoLinuxInputDevice::setMinimumTimeBetweenEvents().
GizmoATIX10::GizmoATIX10 | ( | const H::DeviceInfo & | deviceInfo, | |
int | DeviceID, | |||
int | DeviceClassID | |||
) |
Default Constructor.
GizmoATIX10 Default Constructor.
Definition at line 63 of file GizmoATIX10.cpp.
References GIZMO_ATIX10_EVENTDELAY, and Gizmod::GizmoLinuxInputDevice::setMinimumTimeBetweenEvents().
GizmoATIX10::~GizmoATIX10 | ( | ) | [virtual] |
std::string GizmoATIX10::getType | ( | ) | [virtual] |
Get the type of the Gizmo.
Get the type of this Gizmo.
Reimplemented from Gizmod::Gizmo.
Definition at line 88 of file GizmoATIX10.cpp.
References GIZMO_ATIX10_TYPE.
bool GizmoATIX10::processEvent | ( | GizmoEvent * | pEvent | ) | [virtual] |
Process an event.
pEvent | The event to process |
Reimplemented from Gizmod::Gizmo.
Definition at line 97 of file GizmoATIX10.cpp.
References Gizmod::GizmoLinuxInputEvent::Code, Gizmod::GizmoLinuxInputDevice::processEvent(), Gizmod::Gizmo::setKeyState(), Gizmod::GizmoLinuxInputEvent::Type, and Gizmod::GizmoLinuxInputEvent::Value.