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

Walking via treadmill or trackers - only possible by simulating trackpad/thumbstick? Or can we move HMD pose? #1831

Open
asudyn opened this issue May 10, 2024 · 1 comment

Comments

@asudyn
Copy link

asudyn commented May 10, 2024

Could anyone help me figure out the best way to make a driver?
When creating a driver for DIY controller that would allow locomotion (treadmill or walk-in-place style), am I limited to just providing these inputs?

/input/joystick/x
/input/joystick/y
/input/trackpad/x
/input/trackpad/y

Or is there a better way to simulate walking? Like changing the actual position of an HMD pose?
Or better yet some kind of general OpenVR way to provide locomotion?

All examples that I've found provide joystick+trackpad inputs but I wonder if that's a correct way to do this?

@alex-freeaim
Copy link

You may want to check out how OpenVR Advanced Settings is able to freeze the rotation of the HMD, as shown here:
https://youtu.be/9INusykanzQ?si=7VLInr6tc3LI232Q

You might be able to use a similar method to move the HMD too.

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