# Supported Input (Joystick)

## Interactions

| Input                | Description                                                                                                                                           | Generated default visual |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |
| Joystick Button      | Gamepad button presses: A, B, X, Y buttons, D-pad directional buttons, Start and Back buttons, LB, RB, LT, RT, left stick click and right stick click | UI Joystick Tip          |
| Joystick Button      | Left and right stick movement                                                                                                                         | UI Joystick Tip          |
| Joystick Button Hold | Gamepad button holds: A, B, X, Y buttons, D-pad directional buttons, Start and Back buttons, LB, RB, LT, RT, left stick click and right stick click   | UI Joystick Tip          |

## Mapping

<div><figure><img src="https://2950676651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXXV9mXl47pizEJp2sQyb%2Fuploads%2Fr7x5a9lY2PKWRejlelVp%2Fimage_2025-03-10_18-26-54.png?alt=media&#x26;token=d030b962-5f5f-4054-9055-75703a80b062" alt=""><figcaption><p>Input Controller</p></figcaption></figure> <figure><img src="https://2950676651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXXV9mXl47pizEJp2sQyb%2Fuploads%2FCSrpIAjhAqXrHvyC3O9u%2Fimage_2025-03-04_18-34-10%20(2).png?alt=media&#x26;token=80fc1f2c-3e7e-4c98-b328-b637d71f0ebd" alt=""><figcaption><p>Axes for Old Input System</p></figcaption></figure> <figure><img src="https://2950676651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXXV9mXl47pizEJp2sQyb%2Fuploads%2FZQaoHLKSkdVWhbtY7mK2%2Fimage_2025-03-04_18-34-10.png?alt=media&#x26;token=7f156caf-e2d0-4d63-bbc1-e704b30908f5" alt=""><figcaption><p>Axes for Old Input System</p></figcaption></figure></div>

The system supports input and tips for Xbox-type controllers. If there are slight differences from the default settings or in input methods, reconfigure in the Input Controller:

* Button mapping, for example, if A and X buttons are swapped. Button index is logged when button is pressed during recording.
* The names of axes that are used in your project for input.

The system assumes the following mapping:

* LeftStickHorizontalAxis - "LeftStickHorizontal" (left, right) - X Axis
* LeftStickVerticalAxis - "LeftStickVertical" (down, up + invert) - Y Axis
* TriggerAxis - "Triggers" (left/right) - 3rd Axis
* RightStickHorizontalAxis - "RightStickHorizontal" (left, right) - 4th Axis
* RightStickVerticalAxis - "RightStickVertical" (down, up + invert) - 5th Axis
* DPadHorizontal - "DebugHorizontal" (left/right) - 6th Axis
* DPadVertical - "DebugVertical" (down/up) - 7th Axis
