Unity will only reference axises via the input manager, while buttons can be accessed via a string joystickbuttonX or through the Ke圜ode enum, where X is the number of the button provided in the table below.
Windows tested against Windows 8.1 using default drivers.The controller bindings for several operating systems using the most commonly acquired drivers are specified below for: The Triggers are firmer, and only require a deadzone of 0.1.īuttons can either be fetched using Input.GetButton, or, if using an axis in the InputManager, can be configured with a sensitivity of 1000.
Since the centre return of the thumbsticks will cause the output to wander, they should be given a dead zone of around 0.2. The Gravity of an axis should be set to 0.Īxises should be configured with a dead zone to prevent them from producing an output of more than 0 when they are not moved.
The sensitivity of the axises should be set to 1 for accurate reproduction. If you only build your game for Windows, you may be interested in XInput.NET which allows full XBox 360 controller support.įor an InputManager.asset file with four XBox 360 controllers mapped click here or with separate axises for triggers: click here Configuration