Fix issue when people have their menu buttons switched

This commit is contained in:
Grant Bagwell committed 2022-09-20 19:47:23 +02:00
1 parent f1790130ac
commit 8200a40bcb
1 file changed
+2 -1
@@ -86,8 +86,9 @@ void HandleInput_Default( ovrInputStateTrackedRemote *pDominantTrackedRemoteNew,
}
}
//Menu button - always on the left controller
//Menu button - always on the left controller (unless its on the right - GB)
handleTrackedControllerButton(&leftTrackedRemoteState_new, &leftTrackedRemoteState_old, ovrButton_Enter, K_ESCAPE);
handleTrackedControllerButton(&rightTrackedRemoteState_new, &rightTrackedRemoteState_old, ovrButton_Enter, K_ESCAPE);
//Menu control - Uses "touch"
if (useScreenLayer())