diff options
author | Michael Turvey <mwturvey@users.noreply.github.com> | 2017-04-11 17:45:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-11 17:45:52 -0700 |
commit | 9b1309c6dd9b38502b04d6bedb64f57acc7341e8 (patch) | |
tree | 588f364728c63f032b17582379f48dc4a808c960 | |
parent | d733f46f19627e424a0db1d5a7c1406cc769152c (diff) | |
parent | 4b842a1a73a2713726c3d999ab4b6886e7e9fb69 (diff) | |
download | libsurvive-9b1309c6dd9b38502b04d6bedb64f57acc7341e8.tar.gz libsurvive-9b1309c6dd9b38502b04d6bedb64f57acc7341e8.tar.bz2 |
Merge pull request #57 from mwturvey/namingUpdate
Naming update
-rw-r--r-- | src/survive_data.c | 1 | ||||
-rwxr-xr-x | src/survive_vive.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/survive_data.c b/src/survive_data.c index 647a5d7..0273532 100644 --- a/src/survive_data.c +++ b/src/survive_data.c @@ -67,6 +67,7 @@ int handle_lightcap2_getAcodeFromSyncPulse(SurviveObject * so, int pulseLen) } uint8_t remove_outliers(SurviveObject *so) { + return 0; // disabling this for now because it seems remove almost all the points for wired watchman and wired tracker. lightcap2_data *lcd = so->disambiguator_data; uint32_t sum = 0; diff --git a/src/survive_vive.c b/src/survive_vive.c index 8e22ea1..3ce985d 100755 --- a/src/survive_vive.c +++ b/src/survive_vive.c @@ -54,7 +54,7 @@ const short vidpids[] = { const char * devnames[] = { "HMD", - "Lighthouse", + "HMD IMU & LH", "Watchman 1", "Watchman 2", "Tracker 0", @@ -370,6 +370,7 @@ int survive_usb_init( SurviveViveData * sv, SurviveObject * hmd, SurviveObject * wchar_t wstr[255]; res = hid_get_serial_number_string(handle, wstr, 255); + printf("Found %s. ", devnames[i]); wprintf(L"Serial Number String: (%d) %s for %04x:%04x@%d (Dev: %p)\n", wstr[0], wstr,vendor_id, product_id, menum, handle); sv->udev[i] = handle; |