Skip to content

Commit bf168b1

Browse files
committed
Fix detection of Valve Index controllers
1 parent 332d5fe commit bf168b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/vr/vr_input.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ void VR_InitInstanceInput( VR_Engine* engine )
670670
const char* interactionProfileNames[3];
671671

672672
// Check for Valve Index HMD
673-
if (strstr(systemName, "Index") != NULL)
673+
if (strstr(systemName, "Index") != NULL || strstr(systemName, "index") != NULL || strstr(systemName, "lighthouse") != NULL)
674674
{
675675
printf("[OpenXR] Detected Valve Index HMD (%s), prioritizing Index controllers\n", systemName);
676676
const XrPath profiles[] = { interactionProfilePathValveIndex, interactionProfilePathOculusTouch, interactionProfilePathKHRSimple };

0 commit comments

Comments
 (0)