Jump to content

Data from Vive Focus Proximity Sensor


Recommended Posts

Hi Everyone,

I am currently building an application for my Vive focus but I can't find a reference to the proximity sensor inside the headset so that I can add events when the user removes the headset. I'm using Unity and have looked in the wvr library as well as the other included classes. 

Is there an event from the headset or a variable I can check at runtime? I noticed that the headset does go into hibernation mode when you take it off but I couldn't see a way to check that either.

Cheers,

Matt

Link to comment
Share on other sites

I would recommend looking into the Android way of doing this by handling pause/resume/stop/start lifecycle methods with logic that checks if the screen is on or if you're back in the launcher or not.

 

-Dario

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...