I am working on a project which is using the track pad on the Vive controller for swiping. I Have a script which is working in the editor but when I build the Input.GetAxis(“axisname”); always returns -1.
I am only using the Unity standard Virtual Input Manager and have set up two axis for the right Vive controller according to this documentation: Unity - Manual: Input for OpenVR controllers
void Update ()
{
float x = Input.GetAxis(xAxisName);
float y = Input.GetAxis(yAxisName);
if(x != 0 || y != 0)
debugLog("X: " + x + " Y: " + y);