How to use Valve Index in 2020.2 natively?

Hi everyone,

Can you tell which Packages/Components should I use to track valve index controllers (positions/buttons) and the headset in unity 2020.2.

I used VR for the last 5 years but made 1 year break and now seems like there’s a new Input System and native OpenXR support is gone. Maybe there’s a tutorial or an article somewhere. It’s just quite hard to figure out how everything works now. I used to use TrackedPoseDriver before and UnityInput library to track the headset and controllers and handle button inputs. What should I use now instead?

You would use OpenXR but instead of TrackedPoseDriver you would use the TrackedPoseDriver (New Input System). From there you would define actions for the position and rotation which would be “/centerEyePosition” and “/centerEyeRotation” respectively.

There is more information in the documentation (Input in Unity OpenXR | OpenXR Plugin | 0.1.2-preview.2) that may be helpful. You can also install the controller sample into your project from the package manager to see how it is set up and go from there.

Hope that helps.

2 Likes