The open source OpenXR runtime
0
fork

Configure Feed

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

steamvr: Don't crash if we don't have bindings for device

+5
+5
src/xrt/state_trackers/steamvr_drv/ovrd_driver.cpp
··· 489 489 490 490 struct profile_template *p = get_profile_template(m_xdev->name); 491 491 492 + if (p == NULL) { 493 + ovrd_log("Monado device has unknown profile: %d\n", m_xdev->name); 494 + return vr::VRInitError_Unknown; 495 + } 496 + 492 497 m_input_profile = std::string("{monado}/input/") + std::string(p->steamvr_input_profile_path); 493 498 m_controller_type = p->steamvr_controller_type; 494 499 }