weixin_39634194 2020-11-22 00:33
浏览 0

Unable to Access Proximity Sensor.

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

  • 写回答

5条回答 默认 最新

  • weixin_39634194 2020-11-22 00:33
    关注

    This Feature would be useful on chaperone warnings and PTT.

    评论

报告相同问题?