> For the complete documentation index, see [llms.txt](https://octanta-studio.gitbook.io/zi-dong-jiao-cheng-sheng-cheng-qi-you-xi-nei-ti-shi-cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://octanta-studio.gitbook.io/zi-dong-jiao-cheng-sheng-cheng-qi-you-xi-nei-ti-shi-cn/data/supported-input-joystick.md).

# 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="/files/9vet5SM1F5uH6ZtAq7mY" alt=""><figcaption><p>Input Controller</p></figcaption></figure> <figure><img src="/files/yXTXHKLmrgFdQVQ8VwHn" alt=""><figcaption><p>Axes for Old Input System</p></figcaption></figure> <figure><img src="/files/E2koebiURJUfMmzh6Jp0" alt=""><figcaption><p>Axes for Old Input System</p></figcaption></figure></div>

系统支持Xbox类型控制器的输入和提示。如果与默认设置或输入方法有细微差异，请在Input Controller中重新配置：

* 按钮映射，例如，如果A和X按钮被交换。按钮索引在录制期间按下按钮时会被记录。
* 项目中用于输入的轴名称。

系统假设以下映射：

* LeftStickHorizontalAxis - "LeftStickHorizontal"（左，右）- X Axis
* LeftStickVerticalAxis - "LeftStickVertical"（下，上 + 反转）- Y Axis
* TriggerAxis - "Triggers"（左/右）- 3rd Axis
* RightStickHorizontalAxis - "RightStickHorizontal"（左，右）- 4th Axis
* RightStickVerticalAxis - "RightStickVertical"（下，上 + 反转）- 5th Axis
* DPadHorizontal - "DebugHorizontal"（左/右）- 6th Axis
* DPadVertical - "DebugVertical"（下/上）- 7th Axis
