Skip to content

Commit

Permalink
Using Btn B on the right hand in Quest. (#3041)
Browse files Browse the repository at this point in the history
  • Loading branch information
daoshengmu committed Mar 24, 2020
1 parent 27ba760 commit 6a45087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/oculusvr/cpp/DeviceDelegateOculusVR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6a45087

Please sign in to comment.