Forum Discussion
mdelucasschellg
9 years agoExplorer
Simulate Xbox One Home Button Press?
Making a game that uses both Xbox One controllers and mouse for the Rift on PC. When pressing the Home button on the Xbox One controller, it returns the users to the oculus home app and puts the game in a "suspend" mode. I was wondering, is there a function call in the Unity utilities anywhere to replicate this functionality, such as when doing this when clicking on a UI button?
I tried using both
I tried using both
OVRManager.PlatformUIConfirmQuit();
OVRManager.PlatformUIGlobalMenu();
But these apparently only work on the Gear.3 Replies
Replies have been turned off for this discussion
- vrdavebOculus StaffSorry, there is not a direct way to do this. The closest thing would be to exit VR mode using VR.VRSettings.enabled = false.
- mdelucasschellgExplorer
vrdaveb said:
Sorry, there is not a direct way to do this. The closest thing would be to exit VR mode using VR.VRSettings.enabled = false.
Thanks for the response! I'll experiment with that for now. If a player just clicks an "Exit Button" and I call Application.Quit, is that acceptable by Oculus's guidelines for a release? - vrdavebOculus StaffSome apps already do that, so I would expect it to be fine.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 2 years ago
- 3 months ago