From 6a4508724a41fa8026af3120b281b71c05fc19a7 Mon Sep 17 00:00:00 2001 From: Daosheng Mu Date: Tue, 24 Mar 2020 13:58:55 -0700 Subject: [PATCH] Using Btn B on the right hand in Quest. (#3041) --- app/src/oculusvr/cpp/DeviceDelegateOculusVR.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/oculusvr/cpp/DeviceDelegateOculusVR.cpp b/app/src/oculusvr/cpp/DeviceDelegateOculusVR.cpp index 2b82dd7d8..25d92f06d 100644 --- a/app/src/oculusvr/cpp/DeviceDelegateOculusVR.cpp +++ b/app/src/oculusvr/cpp/DeviceDelegateOculusVR.cpp @@ -459,7 +459,7 @@ struct DeviceDelegateOculusVR::State { const bool bTouched = (controllerState.inputState.Touches & ovrTouch_B) != 0; controller->SetButtonState(controllerState.index, ControllerDelegate::BUTTON_A, 3, aPressed, aTouched); - controller->SetButtonState(controllerState.index, ControllerDelegate::BUTTON_Y, 4, bPressed, bTouched); + controller->SetButtonState(controllerState.index, ControllerDelegate::BUTTON_B, 4, bPressed, bTouched); if (renderMode != device::RenderMode::Immersive) { controller->SetButtonState(controllerState.index, ControllerDelegate::BUTTON_APP, -1, bPressed, bTouched);