diff options
author | Mike Turvey <mturvey6@gmail.com> | 2017-04-11 17:38:15 -0700 |
---|---|---|
committer | Mike Turvey <mturvey6@gmail.com> | 2017-04-11 17:38:15 -0700 |
commit | 0b16cebf7ca20da43da99cf9d59ab9ed8a3c205f (patch) | |
tree | 9ef96b4d2886c43b35feab904a21d11a46bb6183 | |
parent | d733f46f19627e424a0db1d5a7c1406cc769152c (diff) | |
download | libsurvive-0b16cebf7ca20da43da99cf9d59ab9ed8a3c205f.tar.gz libsurvive-0b16cebf7ca20da43da99cf9d59ab9ed8a3c205f.tar.bz2 |
Better messaging when finding a device
-rwxr-xr-x | src/survive_vive.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |