Jump to content

Access to Focus3 headset proximity sensor via openvr api?


JoeJ

Recommended Posts

From a PCVR app, I need to detect whether the user has put on the headset.  I currently do this with other headsets using the proximity sensor and event messages from driver lighthouse.  However, I have not found a way in the openvr api to get information about the proximity sensor for the focus3 headset. 

Does anyone know how to access proximity sensor information through the htc streaming/rr driver to determine when a headset has been put on?

Link to comment
Share on other sites

  • 2 years later...

Did you find an answer to this question? Experience the same issue here.

For e.g. the Vive / Vive Pro we are able to detect the proximity sensor state via the "/user/head/pose/raw" path in the sources block in the bindings file for the "vive_pro" controller. This does not seem to work with the bindings file for the "vive_cosmos" controller.

Also, the SteamVR input debugger is constantly showing TRUE in for the "HMD Proximity Sensor (/actions/legacy/in/head_proximity)

Link to comment
Share on other sites

On 8/16/2024 at 12:20 PM, Peter Thor said:

Did you find an answer to this question? Experience the same issue here.

For e.g. the Vive / Vive Pro we are able to detect the proximity sensor state via the "/user/head/pose/raw" path in the sources block in the bindings file for the "vive_pro" controller. This does not seem to work with the bindings file for the "vive_cosmos" controller.

Also, the SteamVR input debugger is constantly showing TRUE in for the "HMD Proximity Sensor (/actions/legacy/in/head_proximity)

Edit: The path should be "/user/head/proximity". Wrong copy-paste line.

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
×
×
  • Create New...