aboutsummaryrefslogtreecommitdiff
path: root/src/survive_vive.c
diff options
context:
space:
mode:
authormwturvey <michael.w.turvey@intel.com>2017-03-28 10:15:36 -0700
committermwturvey <michael.w.turvey@intel.com>2017-03-28 10:15:36 -0700
commitb3bdcdb838ed57986f359b2181a624bfd1acbbf1 (patch)
tree2ecf2a332bec3617744d1575b74498b7defa44db /src/survive_vive.c
parentea0c125b90703edae5ea2b0d02095406515aa7a3 (diff)
downloadlibsurvive-b3bdcdb838ed57986f359b2181a624bfd1acbbf1.tar.gz
libsurvive-b3bdcdb838ed57986f359b2181a624bfd1acbbf1.tar.bz2
Fix Tracker IMU
Diffstat (limited to 'src/survive_vive.c')
-rwxr-xr-xsrc/survive_vive.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/survive_vive.c b/src/survive_vive.c
index a5c731d..757fa11 100755
--- a/src/survive_vive.c
+++ b/src/survive_vive.c
@@ -1105,6 +1105,7 @@ void survive_data_cb( SurviveUSBInterface * si )
}
case USB_IF_LIGHTHOUSE:
case USB_IF_W_WATCHMAN1:
+ case USB_IF_TRACKER0:
{
int i;
//printf( "%d -> ", size );
@@ -1156,22 +1157,6 @@ void survive_data_cb( SurviveUSBInterface * si )
}
break;
}
- case USB_IF_TRACKER0:
- {
- SurviveObject * w = obj;
- if( id == 32 )
- {
- // TODO: Looks like this will need to be handle_tracker, since
- // it appears the interface is sufficiently different.
- // More work needd to reverse engineer it.
- //handle_wired_watchman( w, readdata, size);
- }
- else
- {
- SV_INFO( "Unknown tracker code %d\n", id );
- }
- break;
- }
case USB_IF_LIGHTCAP:
{
int i;