I have all of the inputs working on the controller EXCEPT the left and right triggers. The character is walking around and playing animations with all of the other buttons. In the input manager, I have read that they use the 3rd Axis, but that doesn’t work. I have read that they use the 9th and 10th axis, not working. I went through and tried every axis, none are working. Could this be a driver issue? I have downloaded the latest Microsoft driver. Is there maybe a different driver, or something I am overlooking? If you have ever set one of these up, I would appreciate the help.
Maybe this reference chart can help you:
http://wiki.unity3d.com/index.php?title=Xbox360Controller
Yea I actually was on there and tried using the axis that it says. Does anybody know if you need to download XInput or if Windows drivers work?
What version of Windows are you using? If you’re using Vista or later you should not need a controller driver or a separate XInput install.
Windows 8.1 …Yea it is a weird thing because all of the other buttons are working besides the triggers
Are you printing out the data returned by each axis? It’s pretty easy to make a tool to show the output of each axis on screen. Make sure the sensitivity is set to 1 also in your Input Manager settings.
Axis 3 should return a 0 value at rest, -1 when the left trigger is fully pressed, and +1 when the right trigger is fully pressed. Axis 9 and 10 show the individual trigger values from 0 to 1, but sometimes these don’t work at all (depending on the joystick Id Unity assigns the gamepad to.)
If you need more robust controller support, check out the Rewired trial on my website. (Link in sig.)
ill take a look at implementing what you said, thanks for the info