> 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)

Joystick Input.

### 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://1597143735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7HAWuzqQNEbf6UlbmHfD%2Fuploads%2FYIsO6uW51kRRjSwNqPaG%2Fimage_2025-03-10_18-26-54.png?alt=media&amp;token=34a15582-c4bc-4655-b0b9-f111f231c24d" alt=""><figcaption><p>Input Controller</p></figcaption></figure> <figure><img src="https://1597143735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7HAWuzqQNEbf6UlbmHfD%2Fuploads%2FtTQLWBIVOXM5Qk4DfOiU%2Fimage_2025-03-04_18-34-10%20(2).png?alt=media&amp;token=d8116b03-583a-4d1f-9d80-2ea9cda11af8" alt=""><figcaption><p>Axes for Old Input System</p></figcaption></figure> <figure><img src="https://1597143735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7HAWuzqQNEbf6UlbmHfD%2Fuploads%2FqUHw74MiNTYDj2CB7hym%2Fimage_2025-03-04_18-34-10.png?alt=media&amp;token=a29080bf-1580-4697-bb03-ae5879d3f135" 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
