The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

t/common: Print what driver is being used in Lighthouse driver

+7
+7
src/xrt/targets/common/target_builder_lighthouse.c
··· 278 278 if (have_survive_drv && have_vive_drv) { 279 279 // We have both drivers - default to libsurvive, but if the user asks specifically for vive we'll give 280 280 // it to them 281 + if (vive_over_survive) { 282 + LH_DEBUG("Using driver vive (over survive)!"); 283 + } else { 284 + LH_DEBUG("Using driver survive (both)!"); 285 + } 281 286 lhs->use_libsurvive = !vive_over_survive; 282 287 } else if (have_survive_drv) { 283 288 // We only have libsurvive - don't listen to the env var ··· 285 290 if (vive_over_survive) { 286 291 LH_WARN("Asked for vive driver, but it isn't built. Using libsurvive."); 287 292 } 293 + LH_DEBUG("Using driver survive (only built)!"); 288 294 lhs->use_libsurvive = true; 289 295 } else if (have_vive_drv) { 296 + LH_DEBUG("Using driver vive (only built)!"); 290 297 // We only have vive 291 298 lhs->use_libsurvive = false; 292 299 } else {