With an overlay app that runs in the background like helloworldoverlay. And you need to know if the TrackedDevicePose_t.bPoseIsValid is valid for the HMD how do you do?
According to https://steamcommunity.com/app/358720/discussions/0/530649887208913423/ the correct way to poll if HMD is being tracked is to use GetControllerStateWithPose. However as soon as OpenVR.Overlay.IsDashboardVisible() returns true GetControllerStateWithPose returns false all the time.
Roughly what I want to achieve is to know if a device is being tracked or not regardless if the dashboard is being shown or not.
With an overlay app that runs in the background like helloworldoverlay. And you need to know if the TrackedDevicePose_t.bPoseIsValid is valid for the HMD how do you do?
According to https://steamcommunity.com/app/358720/discussions/0/530649887208913423/ the correct way to poll if HMD is being tracked is to use GetControllerStateWithPose. However as soon as OpenVR.Overlay.IsDashboardVisible() returns true GetControllerStateWithPose returns false all the time.
Roughly what I want to achieve is to know if a device is being tracked or not regardless if the dashboard is being shown or not.
A possible solution would be to add a method similar to IsDashboardVisible() for the HMD i.e. OpenVR.Overlay.IsHmdBeingTracked()
Any help is greatly appreciated!