From 8200a40bcbdc7d2e6fb7e609020e52deeb014c7b Mon Sep 17 00:00:00 2001 From: Grant Bagwell Date: Tue, 20 Sep 2022 19:47:23 +0200 Subject: [PATCH] Fix issue when people have their menu buttons switched --- Projects/Android/jni/src/Lambda1VR/VrInputDefault.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Projects/Android/jni/src/Lambda1VR/VrInputDefault.c b/Projects/Android/jni/src/Lambda1VR/VrInputDefault.c index a8afb9c..7027ca2 100644 --- a/Projects/Android/jni/src/Lambda1VR/VrInputDefault.c +++ b/Projects/Android/jni/src/Lambda1VR/VrInputDefault.c @@ -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())