The open source OpenXR runtime
0
fork

Configure Feed

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

d/ohmd: Prepare for superceeding the OpenHMD Rift DK2 driver

Downstream, the new Rift driver has complete 6dof support, and fully superceeds OpenHMD in terms of features and usability. This commit is to remind me to re-add this block of code in once the rest of the bits are upstreamed.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2428>

+5 -1
+5 -1
src/xrt/drivers/ohmd/oh_device.c
··· 1217 1217 } else if (strncmp(prod, "Rift S", strlen("Rift S")) == 0) { 1218 1218 U_LOG_W("Ignoring OpenHMD Rift S device idx %i. Use the native Monado Rift S driver.", i); 1219 1219 continue; 1220 - } 1220 + } /* 1221 + else if (strncmp(prod, "Rift (DK2)", strlen("Rift (DK2)")) == 0) { 1222 + U_LOG_W("Ignoring OpenHMD Rift DK2 device idx %i. Use the native Monado Rift DK2 driver.", i); 1223 + continue; 1224 + } */ // This block of code is disabled until 6dof support is upstreamed. 1221 1225 1222 1226 if (device_class == OHMD_DEVICE_CLASS_CONTROLLER) { 1223 1227 if ((device_flags & OHMD_DEVICE_FLAGS_LEFT_CONTROLLER) != 0) {