Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit 6a45087

Browse files
authored
Using Btn B on the right hand in Quest. (#3041)
1 parent 27ba760 commit 6a45087

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/oculusvr/cpp/DeviceDelegateOculusVR.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ struct DeviceDelegateOculusVR::State {
459459
const bool bTouched = (controllerState.inputState.Touches & ovrTouch_B) != 0;
460460

461461
controller->SetButtonState(controllerState.index, ControllerDelegate::BUTTON_A, 3, aPressed, aTouched);
462-
controller->SetButtonState(controllerState.index, ControllerDelegate::BUTTON_Y, 4, bPressed, bTouched);
462+
controller->SetButtonState(controllerState.index, ControllerDelegate::BUTTON_B, 4, bPressed, bTouched);
463463

464464
if (renderMode != device::RenderMode::Immersive) {
465465
controller->SetButtonState(controllerState.index, ControllerDelegate::BUTTON_APP, -1, bPressed, bTouched);

0 commit comments

Comments
 (0)