Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Input Source for Treadmills #472

Closed
kaplat opened this issue Jul 3, 2019 · 2 comments
Closed

Missing Input Source for Treadmills #472

kaplat opened this issue Jul 3, 2019 · 2 comments

Comments

@kaplat
Copy link

kaplat commented Jul 3, 2019

Hello,

I am currently working on a custom driver for a treadmill device and wrote a Unity test application to test whether a character moves when i walk in my treadmill.
In the test application i am unable to specify that the movement event should only be triggered for a treadmill device. A device registered with the treadmill role in OpenVR seems to send SteamVR_Input_Sources.Any when i move in the Treadmill. One drawback of using SteamVR_Input_Sources.Any is that the event is also triggered for all controller events then.

Furthermore this is a problem when applications only trigger the movement event for SteamVR_Input_Sources.LeftHand or RightHand sources (as i think many games do??), as it would never trigger for a treadmill. This is a major drawback for all treadmills implemented with treadmill role in OpenVR as they can't handle free locomotion used in many games (using the new SteamVR Input System e.g. Arizona Sunshine) anymore!

Has anyone had similar observations? Am I not implementing something correct?

Thanks in advance for all answers. I would really appreciate the help.

@andreaskern
Copy link

@kaplat you are totally correct.
for arizona sunshine for example they really do filter for LeftHand.
There is an older version 1_5 available in the store where they used Any.
something like SteamVR_Input_Sources.Treadmill would be great.

@kaplat
Copy link
Author

kaplat commented Jul 23, 2019

This issue is handled in ValveSoftware/openvr#1153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants