summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_joystick
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_tracker_joystick')
-rw-r--r--ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp1
-rw-r--r--ftnoir_tracker_joystick/ftnoir_tracker_joystick.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp
index e605ea40..550e05c9 100644
--- a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp
+++ b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp
@@ -22,7 +22,6 @@ FTNoIR_Tracker::FTNoIR_Tracker() :
for (int i = 0; i < 6; i++)
*s.axes[i] = min_[i] = max_[i] = 0;
GUID bar = {0};
- preferred = bar;
}
void FTNoIR_Tracker::reload()
diff --git a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h
index 2f630d18..0c2b3919 100644
--- a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h
+++ b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h
@@ -71,7 +71,6 @@ public:
LPDIRECTINPUT8 g_pDI;
LPDIRECTINPUTDEVICE8 g_pJoystick;
int min_[8], max_[8];
- GUID preferred;
QMutex mtx;
QFrame* frame;
DIDEVICEINSTANCE def;