#include <qtopengl_joystick.h>
Public Slots | |
void | processEvents () |
Signals | |
void | axisValueChanged (int axis, int value) |
void | buttonValueChanged (int button, bool value) |
void | hatValueChanged (int hat, int value) |
void | trackballValueChanged (int trackball, int deltaX, int deltaY) |
Public Member Functions | |
CQTOpenGLJoystick (QObject *parent=0, int joystickEventTimeout=SDL_JOYSTICK_DEFAULT_EVENT_TIMEOUT, bool doAutoRepeat=TRUE, int autoRepeatDelay=SDL_JOYSTICK_DEFAULT_AUTOREPEAT_DELAY) | |
~CQTOpenGLJoystick () | |
void | open (int) |
void | close () |
bool | isOpen () const |
int | getAxisValue (int) |
bool | connected () const |
Public Attributes | |
QStringList | joystickNames |
SDL_Joystick * | joystick |
int | numAxes |
int | numButtons |
int | numHats |
int | numTrackballs |
int | eventTimeout |
int | autoRepeatDelay |
bool | autoRepeat |
QTimer | joystickTimer |
QMap< int, int > | deadzones |
QMap< int, int > | sensitivities |
Definition at line 25 of file qtopengl_joystick.h.
argos::CQTOpenGLJoystick::CQTOpenGLJoystick | ( | QObject * | parent = 0 , |
int | joystickEventTimeout = SDL_JOYSTICK_DEFAULT_EVENT_TIMEOUT , |
||
bool | doAutoRepeat = TRUE , |
||
int | autoRepeatDelay = SDL_JOYSTICK_DEFAULT_AUTOREPEAT_DELAY |
||
) |
Definition at line 19 of file qtopengl_joystick.cpp.
argos::CQTOpenGLJoystick::~CQTOpenGLJoystick | ( | ) |
Definition at line 43 of file qtopengl_joystick.cpp.
|
signal |
|
signal |
void argos::CQTOpenGLJoystick::close | ( | ) |
Definition at line 74 of file qtopengl_joystick.cpp.
|
inline |
Definition at line 52 of file qtopengl_joystick.h.
int argos::CQTOpenGLJoystick::getAxisValue | ( | int | axis | ) |
Definition at line 153 of file qtopengl_joystick.cpp.
|
signal |
|
inline |
Definition at line 50 of file qtopengl_joystick.h.
void argos::CQTOpenGLJoystick::open | ( | int | stick | ) |
Definition at line 54 of file qtopengl_joystick.cpp.
|
slot |
Definition at line 86 of file qtopengl_joystick.cpp.
|
signal |
bool argos::CQTOpenGLJoystick::autoRepeat |
Definition at line 38 of file qtopengl_joystick.h.
int argos::CQTOpenGLJoystick::autoRepeatDelay |
Definition at line 37 of file qtopengl_joystick.h.
QMap<int, int> argos::CQTOpenGLJoystick::deadzones |
Definition at line 40 of file qtopengl_joystick.h.
int argos::CQTOpenGLJoystick::eventTimeout |
Definition at line 36 of file qtopengl_joystick.h.
SDL_Joystick* argos::CQTOpenGLJoystick::joystick |
Definition at line 31 of file qtopengl_joystick.h.
QStringList argos::CQTOpenGLJoystick::joystickNames |
Definition at line 30 of file qtopengl_joystick.h.
QTimer argos::CQTOpenGLJoystick::joystickTimer |
Definition at line 39 of file qtopengl_joystick.h.
int argos::CQTOpenGLJoystick::numAxes |
Definition at line 32 of file qtopengl_joystick.h.
int argos::CQTOpenGLJoystick::numButtons |
Definition at line 33 of file qtopengl_joystick.h.
int argos::CQTOpenGLJoystick::numHats |
Definition at line 34 of file qtopengl_joystick.h.
int argos::CQTOpenGLJoystick::numTrackballs |
Definition at line 35 of file qtopengl_joystick.h.
QMap<int, int> argos::CQTOpenGLJoystick::sensitivities |
Definition at line 41 of file qtopengl_joystick.h.