Unity Input system not returning correct values for HTC Vive touchpad.
Using the built in XR system (as I could not get steamVR to work with the LWRP) in unity when getting the values from Vive controller touchpad axis, 1 and -1 do not represent the edges of the touchpad but instead a point about 70% of the way in. Here is a image to help explain: The circle is the outline of the track pad and the red dots are the values that unity will return when you touch a given point. The square is the the region of the touchpad that return accurate values. Whats the best way to fix this?
I'm seeing the same thing. Did you every find a workable solution to this without resorting to the S$$anonymous$$mVR SD$$anonymous$$?
Answer by kavanavak · May 12, 2019 at 11:56 PM
any update on this @Pcat0 ?
The problem is with the Gravity and Sensitivity. Here are values that worked for me: Gravity=0, Sensitivity = 1.05
Answer by addent · May 13, 2019 at 01:13 PM
I had a similar issue, the problem turned out to be the settings for the Gravity and Sensitivity were all incorrect in my setup. Originally I had them at: Gravity = 3, Sensitivity = 3, which produced a 70% value like @Pcat0 describes. I changed them to: Gravity = 0, Sensitivity = 1 and that solved my issue.
To make it slightly more sensitive, I ended up setting the Sensitivity to 1.05, which "felt" a little better for my use. Here is an image with my final values:
Your answer
![](https://koobas.hobune.stream/wayback/20220612171349im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Do I need to use the Input Manager to register all input axes? 0 Answers
Targetting VR and flatscreen 0 Answers
XR Input: primary2DAxis always returns 0 1 Answer
How to create custom Input.GetAxis() controls 1 Answer
is it possible to edit the Continuous Move provider (Action based) to add a jump feature? 0 Answers