Unity Xbox Controller Right Stick Axis

So your code works with the mouse and now you would like it to work with the Xbox controller.
No problem, just do the following:

Go to: Edit > Project Settings in the Unity Editor

In the Input Manager, add 2 more Axes: 







For the last 2 newly added entries, rename to Mouse X and Mouse Y as shown below:

Comments