Input.GetAxisRaw returns -1 when I am not touching the joy stick. It returns 1 when I move the stick all the way to the right. It returns -1 when I move it all the way to the left.
Does anyone know what might be causing this?
Thanks.
Input.GetAxisRaw returns -1 when I am not touching the joy stick. It returns 1 when I move the stick all the way to the right. It returns -1 when I move it all the way to the left.
Does anyone know what might be causing this?
Thanks.
One more thing… GetAxisRaw never returns anything but -1 or 1 even when I move the joystick half way to the right or left.
It works fine on my Windows 7 machine which has Unity installed. It does not work on my Windows 10 machine which does not have Unity installed. I tested the joystick under device properties. The test correctly shows the movement of the joystick.