Unable to Access Proximity Sensor for Logic
Issue:
Currently there is not an easy way to get data from the proximity sensor while using the SteamVr input 2.0.
Related Issues:
https://github.com/ValveSoftware/openvr/issues/628 https://github.com/ValveSoftware/steamvr_unity_plugin/issues/155
Work-Around
Currently Using vr::VRSystem()->GetTrackedDeviceActivityLevel(vr::k_unTrackedDeviceIndex_Hmd) == vr::k_EDeviceActivityLevel_UserInteraction
Downside
Approximately ~15 Seconds before idle, and headset must be completely still.
Effect
- auto-mic mute for when headset is off (AudioTabController.cpp)
- Chaperone Warnings (ChaperoneTabController.cpp)
Attempted
- Modifying Json default bindings per https://github.com/ValveSoftware/steamvr_unity_plugin/issues/155 did not seem to work, SteamVR registered the bindings, and no errors thrown, but Proximity sensor always returned false regardless of state.
该提问来源于开源项目:OpenVR-Advanced-Settings/OpenVR-AdvancedSettings