Jump to content

ViveInput.GetAxis(handrole, ControllerAxis.CapSenseGrip) returns values form joystick X axis on Quest


Recommended Posts

Not sure what is going on...as I understand it, CapSenseGrip should return the value of the Grip trigger on Quest, is this correct? Instead I am getting values from X axis of joystick.

Unity 2020.3.3.f1


XR Plugin Management 4.0.5

Oculus XR Plugin 1.8.1

I am using the old input system from Unity.

Link to comment
Share on other sites

Thanks for the feedback!

Its seems to be a bug, will fix in next update.


If need it, you can hot fix yourself by modifying following line



state.SetAxisValue(VRModuleRawAxis.TouchpadX, primary2DAxis.x);
state.SetAxisValue(VRModuleRawAxis.TouchpadY, primary2DAxis.y);


It seems odd but VRModuleRawAxis.TouchpadX/Y actually means "primary axis X/Y" now. (See how the field treated in ControllerState.cs if you are interested)

Briefly, the weird naming was a legacy design issue.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...