d/steamvr_lh: Lighthouse info print

Co-Authored-By: Gabriele Musco <gabmus@disroot.org>
This commit is contained in:
BabbleBones 2023-08-13 02:04:44 -04:00 committed by Jakob Bornecrantz
parent 81e827b4bf
commit 938dd9c74f

View file

@ -227,6 +227,10 @@ Context::TrackedDeviceAdded(const char *pchDeviceSerialNumber,
return setup_controller(pchDeviceSerialNumber, pDriver);
break;
}
case vr::TrackedDeviceClass_TrackingReference: {
CTX_INFO("Found lighthouse device: %s", pchDeviceSerialNumber);
return false;
}
default: {
CTX_WARN("Attempted to add unsupported device class: %u", eDeviceClass);
return false;