summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_joystick
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-24 22:32:00 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-24 22:32:40 +0200
commit2a6f6f39462948569ecc3d685b2b0344c80b37dc (patch)
tree4ae0e96eb210d5dcefba937eb74441437077fdde /ftnoir_tracker_joystick
parent6f53683ca4ab35a9957c82df4d0195d4dcda60dd (diff)
remove dead code
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
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 c591fc36..97ac77e9 100644
--- a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp
+++ b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp
@@ -115,7 +115,6 @@ void FTNoIR_Tracker::StartTracker(QFrame* frame)
goto fail;
}
- enumContext.pPreferredJoyCfg = &def;
enumContext.g_pDI = g_pDI;
enumContext.g_pJoystick = &g_pJoystick;
enumContext.preferred_instance = def.guidInstance;
diff --git a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h
index 2a390228..813640d3 100644
--- a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h
+++ b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h
@@ -32,7 +32,6 @@
struct DI_ENUM_CONTEXT
{
- DIDEVICEINSTANCE* pPreferredJoyCfg;
GUID preferred_instance;
LPDIRECTINPUTDEVICE8* g_pJoystick;
LPDIRECTINPUT8 g_pDI;