diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-25 00:14:01 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-25 00:14:01 +0200 |
commit | 136a710a7fe94b9f55a2c297dea266ed2bd60367 (patch) | |
tree | b065d0eecb0feb5a5b142d33c4cf536730765eb0 /ftnoir_tracker_joystick/ftnoir_tracker_joystick.h | |
parent | 4e3366194dad626247063b1505f7223836355377 (diff) |
hopefully joy works, at least for me it does
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'ftnoir_tracker_joystick/ftnoir_tracker_joystick.h')
-rw-r--r-- | ftnoir_tracker_joystick/ftnoir_tracker_joystick.h | 3 |
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; |