10 #ifndef QT_OPENGL_JOYSTICK_H
11 #define QT_OPENGL_JOYSTICK_H
17 #include <QStringList>
20 #define SDL_JOYSTICK_DEFAULT_EVENT_TIMEOUT 25
21 #define SDL_JOYSTICK_DEFAULT_AUTOREPEAT_DELAY 250
45 bool doAutoRepeat = TRUE,
55 QMap<int, Sint16> axes;
56 QMap<int, Uint8> buttons;
57 QMap<int, Uint8> hats;
58 QMap<int, QTime> axisRepeatTimers;
59 QMap<int, QTime> buttonRepeatTimers;
60 QMap<int, QTime> hatRepeatTimers;
#define SDL_JOYSTICK_DEFAULT_EVENT_TIMEOUT
#define SDL_JOYSTICK_DEFAULT_AUTOREPEAT_DELAY
The namespace containing all the ARGoS related code.
void hatValueChanged(int hat, int value)
QStringList joystickNames
void buttonValueChanged(int button, bool value)
CQTOpenGLJoystick(QObject *parent=0, int joystickEventTimeout=SDL_JOYSTICK_DEFAULT_EVENT_TIMEOUT, bool doAutoRepeat=TRUE, int autoRepeatDelay=SDL_JOYSTICK_DEFAULT_AUTOREPEAT_DELAY)
void trackballValueChanged(int trackball, int deltaX, int deltaY)
QMap< int, int > deadzones
void axisValueChanged(int axis, int value)
QMap< int, int > sensitivities