summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-13 11:24:01 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-13 11:32:36 +0200
commit9e21f5ef4e0dc00452ff0b6a940edc2d51114ec3 (patch)
tree04381ff1210dd05700342b5790dc460ed5442cd6 /ftnoir_tracker_joystick/ftnoir_tracker_joystick.h
parentd82575fafb5f5887dd1938dfc9d04f7c65eae269 (diff)
joy: Fix API misuse
Issue: #38
Diffstat (limited to 'ftnoir_tracker_joystick/ftnoir_tracker_joystick.h')
-rw-r--r--ftnoir_tracker_joystick/ftnoir_tracker_joystick.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h
index 2c1bc731..1135b609 100644
--- a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h
+++ b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h
@@ -61,12 +61,12 @@ public:
void reload();
LPDIRECTINPUT8 g_pDI;
LPDIRECTINPUTDEVICE8 g_pJoystick;
- int min_[8], max_[8];
QMutex mtx;
QFrame* frame;
DIDEVICEINSTANCE def;
int iter; // XXX bad style
settings s;
+ static const constexpr int AXIS_MAX = 65535;
};
class TrackerControls: public QWidget, public ITrackerDialog