Hi, I want to detect when the player presses the menu button on the left controller of an Oculus Quest 2, but the button opens Steam Vr instead of passing the input.
I’m using the new Input System, and I added a second binding to another button on the controller to trigger the same function to make sure it was not a problem with my code.
Is it possible to stop Steam Vr opening when pressing the button?
Dont use steamvr for your oculus builds, you give up a button when you do that. Use oculus xr plug-in or make sure user or yourself uses oculus as the openxr runtime.
Thanks, but I’m looking for a way to still use the button in-game, not just know if the menu is open or not
Oh really, so I should use both plug-ins in the project and switch them out when building the game? That seems like quite the headache
I’ll experiment with it and see how it goes, thanks for the idea
Yea, checking if the app lost focus seems pretty kludgy tho, but it seems like I have to either do it that way, or switch to the oculus plugin. I’ll test them both out and see which works best.
Thanks for the tip