23 #ifndef __DEV_JOYSTICK_H__ 24 #define __DEV_JOYSTICK_H__ 52 bool Poll( uint32_t timeout=0 );
57 void Debug(
bool enabled=
true );
int mAxisRaw[MAX_AXIS]
Definition: devJoystick.h:66
float mAxisNorm[MAX_AXIS]
Definition: devJoystick.h:65
bool Poll(uint32_t timeout=0)
Poll the device for updates.
void Debug(bool enabled=true)
Enable/disable verbose logging.
~JoystickDevice()
Destructor.
bool mDebug
Definition: devJoystick.h:68
std::string mPath
Definition: devJoystick.h:70
static const int MAX_AXIS
Definition: devJoystick.h:63
static JoystickDevice * Create(const char *device="Microntek USB Joystick ")
Create device.
Joystick device.
Definition: devJoystick.h:36
int mFD
Definition: devJoystick.h:67