You can move around menus much faster than by head pointing.Ģ) When racing online, sometimes you want to type a message to the other people. A mouse is very easy to use even if you can't see it. It's a lot easier to operate slider bars for settings. So, I'm trying to comply but there are some reasons to want a program's window to have focus.ġ) Mouse is very useful in a racing simulator. I am currently working on the mouseless clicking system in Live for Speed and will support a virtual keyboard as well. But stay tuned because we will be adding a way for multiplayer games to prevent this auto-pause behaviour, and in this case you would need to explicitly ignore input. With our current custom Unity build you don't need to worry about ignoring this input since your game is automatically paused when the UM is visible. You can tell when your game has VR focus by looking at the ovrSessionStatus.IsVisible flag. The player will be pressing gamepad buttons to interact with the UM so make sure those button presses don't also do things in your game. The other half of this story is that since you can always get gamepad input, you need to careful that you ignore it when the headset is showing the Oculus Universal menu (after pressing the XBox button). If you have some use case which you think can't be solved with a virtual keyboard then please let us know. If you feel that you absolutely 100% can't live without keyboard and mouse focus then asking the user to alt-tab into your window will work. This is good practice in any case since trying to find a mouse and keyboard while wearing a headset is a suboptimal experience.įor text input we would encourage you to use an in-VR virtual keyboard, most people who can't touch type will find this much easier to use than blind typing on a physical keyboard. This means that your game needs to be fully usable just using gamepad/Oculus Remote/Touch input - which you will always have access to regardless of which window has focus. The thing about this second method, by launching a game without using keyboard and mouse, is that your game might not have focus on the desktop. Rift users have a couple of different ways to start a Rift game: through the desktop client, or from Oculus Home in VR using a gamepad. Also, ignore gamepad input when you don't have VR focus. Tl dr You can't rely on your Rift game having keyboard and mouse focus.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |