Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving "HMD not full screen" behavior #17

Open
firstmustburn opened this issue Aug 7, 2024 · 0 comments
Open

Improving "HMD not full screen" behavior #17

firstmustburn opened this issue Aug 7, 2024 · 0 comments

Comments

@firstmustburn
Copy link

Not sure if this repo is being actively maintained, but since it is a top search result, adding this for anyone who might come after me.

With the HMD device as it is in the repo, when you alt-tab (or some other times, I'm not entirely sure when), the window will turn red and you'll see a headset offline error until you click back on the VR view window.

I found that if you add these lines:

	vr::VRProperties()->SetBoolProperty( container, vr::Prop_IsOnDesktop_Bool, false );
	vr::VRProperties()->SetBoolProperty(container, vr::Prop_DisplayDebugMode_Bool, true);

in the activation of the HMD device, then you no longer get these errors and the HMD display window interoperates with windows much better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant