summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_tracker_joystick/ftnoir_tracker_joystick.h')
-rw-r--r--ftnoir_tracker_joystick/ftnoir_tracker_joystick.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h
index 813640d3..9dd335cd 100644
--- a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h
+++ b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h
@@ -28,8 +28,6 @@
#include <oleauto.h>
#include <shellapi.h>
-#define AXIS_MAX 16383
-
struct DI_ENUM_CONTEXT
{
GUID preferred_instance;
@@ -49,6 +47,7 @@ public:
LPDIRECTINPUT8 g_pDI;
LPDIRECTINPUTDEVICE8 g_pJoystick;
int axes[6];
+ int min_[8], max_[8];
GUID preferred;
int joyid;
QMutex mtx;