Disable the default GearVR hardware input (Unity)
Since Mobile SDK 1.0.4 is incorporated into Unity the reserved input functionality for the GearVR is automatically handled by the VRApi. So a back-button long press now automatically opens the Oculus universal menu.
We have a case where we use the GearVR in a stand-alone setup where clients can use it without supervision. A problem which often arises is that they use the back button and accidentally close our app.
To solve this we would like to incorporate a mode where the back, home and volume buttons are disabled.
Ideally this should be solved in software. I have already tried several things, including extending the default Unity Activity and intercepting the input on a low level, but this only disables the volume buttons.
I know Unity 5.3 versions (and some 5.4) use an older VRApi where the input is not automatically handled, but Oculus states on their website that support is already deprecated and we do not want to keep using an old version indefinitely.
I know the reserved input is a requirement by Oculus, we do want to keep this as default, but want to add an in-app menu option to disable the back, home and volume button for stand-alone demonstrations.
I hope someone knows a solution.
We have a case where we use the GearVR in a stand-alone setup where clients can use it without supervision. A problem which often arises is that they use the back button and accidentally close our app.
To solve this we would like to incorporate a mode where the back, home and volume buttons are disabled.
Ideally this should be solved in software. I have already tried several things, including extending the default Unity Activity and intercepting the input on a low level, but this only disables the volume buttons.
I know Unity 5.3 versions (and some 5.4) use an older VRApi where the input is not automatically handled, but Oculus states on their website that support is already deprecated and we do not want to keep using an old version indefinitely.
I know the reserved input is a requirement by Oculus, we do want to keep this as default, but want to add an in-app menu option to disable the back, home and volume button for stand-alone demonstrations.
I hope someone knows a solution.
