openvr
openvr copied to clipboard
VRInput::GetActionOrigins does not return origins until after they're pressed for actions assigned to "double" or "long" slots
Versions
OpenVR SDK 1.26.7 SteamVR beta 2.0.6 (However, same behaviour on the current stable release)
Context
I have configured an action on the "double" slot of one of my controller buttons:
The issue
When I poll VRInput::GetActionOrigins
for this action, its origin does not get returned until I've double pressed the A button at least once.
I've noticed that no origins are returned by this function while the SteamVR dashboard is open. However, even after closing the SteamVR dashboard, the origin stops being returned again until I've double pressed the A button once again.
This seems to be the case whenever an action is bound to a "double" or "long" slot. It does work correctly when the action is just bound to "click" (Single), "held" or "touch". However, it stops working again once the action is assigned to either "double" or "long", even if that same action is too assigned to one of the other "working" slots.