"HMD - Recalibrate Origin" for VR using a SimVar needed

Discuss on the SimConnect SDK can be used by programmers to write add-on components for Prepar3D
Post Reply
Lildreas
Posts: 18
Joined: Fri Jun 05, 2020 1:29 pm

"HMD - Recalibrate Origin" for VR using a SimVar needed

Post by Lildreas »

Hello,

we need to remotely reset the VR View for the HMD.

"HMD - Recalibrate Origin" controlled via SimVars is what we are looking for, but we cannot find it. It seems not to be connected to 2D view resetting either.

There are multiple developers out there who need this, I found a few more requests in forums.

Best
Andreas
Clifton Crane
Lockheed Martin
Posts: 1207
Joined: Tue Sep 25, 2012 2:34 pm

Re: "HMD - Recalibrate Origin" for VR using a SimVar needed

Post by Clifton Crane »

Hi Andreas,

There is a Key Event listed in gauges.h, however it looks like its not documented in the Learning Center:

Code: Select all

#define KEY_HMD_RECALIBRATE_ORIGIN                  (KEY_ID_MIN + 2400)
You should be able to use the string version of this event:

Code: Select all

"HMD_RECALIBRATE_ORIGIN"
Note that this an event and not a simulation variable.

Regards,
Clifton
Clifton Crane
Prepar3D® Software Engineer Sr.
Lildreas
Posts: 18
Joined: Fri Jun 05, 2020 1:29 pm

Re: "HMD - Recalibrate Origin" for VR using a SimVar needed

Post by Lildreas »

Thanks a lot Clifton!
Post Reply