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

Commit

Permalink
Make sure the back button only triggers one back event. Fixes #768 (#769
Browse files Browse the repository at this point in the history
)
  • Loading branch information
bluemarvin authored and keianhzo committed Nov 16, 2018
1 parent 6c5e28e commit 3b3279b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/src/oculusvr/cpp/DeviceDelegateOculusVR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ struct DeviceDelegateOculusVR::State {

reorientCount = vrapi_GetSystemStatusInt(&java, VRAPI_SYS_STATUS_RECENTER_COUNT);

// Send the remote back button java events to the apps
vrapi_SetPropertyInt(&java, VRAPI_BLOCK_REMOTE_BUTTONS_WHEN_NOT_EMULATING_HMT, 0);
// This needs to be set to 0 so that the volume buttons work. I'm not sure why since the
// docs in the header indicate that setting this to false (0) means you have to
// handle the gamepad events yourself.
Expand Down

0 comments on commit 3b3279b

Please sign in to comment.