I am using the -vr support that the Source SDK Base 2013 Multiplayer has. It works great, but there are a couple of issues I need to address with how the Source engine implements the Oculus SDK.
First of all, when ever I bring up a VGUI panel that has mouse input, the entire render area of the screen turns black. If I disable mouse input on the panel, the render area no longer has this issue. This is only an issue if -vr is active, otherwise it all works as expected.
Short video of the issue: http://youtu.be/khm5cJYb8KU?t=3m55s
Second, my program is like a 3D desktop and it launches other programs. Some of these other programs are VR games with Oculus head tracking support. The Oculus is only able to send head tracking information to a single program, so to allow for other VR games to function properly when launched I need to disable the head tracking features of my Source mod when the player launches his stuff.
Since I am new to using the VR support that Valve built into the Source SDK Base 2013, I do not know how to accomplish this from my C++ code. Can anybody give me some tips on how I would go about disabling/enabling head tracking support from within my Source engine mod?
Thanks for taking the time to read about my problems.