> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 軸

> 軸

# 軸

觸控控制項與對等實體類比控制項之間對應的定義。

## 屬性

[`input`- *string*](#inputs)。此控制項所接受的觸控[輸入](#inputs)類型。\
[`output` - *string*](#outputs)。此控制項所對應的遊戲台多軸、單軸或極座標搖桿動作。\
[`deadzone`](/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-deadzone) - [*object*](/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-deadzone)、*選擇性*。不會讀取或對應任何輸入之區域的大小與形狀。\
`sensitivity` - *number*、*選擇性*。在回應曲線計算之後套用的乘數。\
[`responseCurve` - *object*](/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-responsecurve)、*選擇性*。[回應曲線](/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-responsecurve)的形狀。

<a id="inputs" />

### 輸入值

| 常數 | 描述 |
| :- | :- |
| axisXY | 完整 2D 輸入，同時讀取 X 軸和 Y 軸的值。 |
| axisX | 1D 輸入，僅讀取 X 軸的值。 |
| axisY | 1D 輸入，僅讀取 Y 軸的值。 |
| axisUp | 極座標輸入。 |
| axisDown | 極座標輸入。 |
| axisLeft | 極座標輸入。 |
| axisRight | 極座標輸入。 |

<a id="outputs" />

### 輸出值

| 常數 | 描述 |
| :- | :- |
| leftJoystick | 輸出至左搖桿的 2D 輸出。 |
| rightJoystick | 輸出至右搖桿的 2D 輸出。 |
| leftJoystickX | 輸出至左搖桿 X 軸的 1D 輸出。 |
| leftJoystickY | 輸出至左搖桿 Y 軸的 1D 輸出。 |
| rightJoystickX | 輸出至右搖桿 X 軸的 1D 輸出。 |
| rightJoystickY | 輸出至左搖桿 Y 軸的 1D 輸出。 |
| leftJoystickLeft | 輸出至左搖桿左方向的極座標輸出。 |
| leftJoystickRight | 輸出至左搖桿右方向的極座標輸出。 |
| leftJoystickUp | 輸出至左搖桿上方向的極座標輸出。 |
| leftJoystickDown | 輸出至左搖桿下方向的極座標輸出。 |
| rightJoystickLeft | 輸出至右搖桿左方向的極座標輸出。 |
| rightJoystickRight | 輸出至右搖桿右方向的極座標輸出。 |
| rightJoystickUp | 輸出至右搖桿上方向的極座標輸出。 |
| rightJoystickDown | 輸出至右搖桿下方向的極座標輸出。 |
| relativeMouse | 輸出至滑鼠的 2D 輸出。 |
| relativeMouseX | 輸出至滑鼠 X 軸的 1D 輸出。 |
| relativeMouseY | 輸出至滑鼠 Y 軸的 2D 輸出。 |
| relativeMouseLeft | 輸出至滑鼠左方向的極座標輸出。 |
| relativeMouseRight | 輸出至滑鼠右方向的極座標輸出。 |
| relativeMouseUp | 輸出至滑鼠上方向的極座標輸出。 |
| relativeMouseDown | 輸出至滑鼠下方向的極座標輸出。 |

## 備註

2D 輸入必須對應到 2D 輸出，同樣地，1D 輸入必須對應到 1D 輸出，而單一方向必須對應到極座標輸出。

## 相關控制項

[加速計](/zh-TW/reference/system/touchadaptationkit/sensor-controls/game-streaming-touch-accelerometer)\
[陀螺儀](/zh-TW/reference/system/touchadaptationkit/sensor-controls/game-streaming-touch-gyroscope)\
[搖桿](/zh-TW/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick)\
[油門](/zh-TW/reference/system/touchadaptationkit/controls/game-streaming-touch-throttle)
[觸控板](/zh-TW/reference/system/touchadaptationkit/controls/game-streaming-touch-touchpad)

## 另請參閱

[Touch Adaptation Kit 參考](/zh-TW/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview)\
[死區](/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-deadzone)\
[回應曲線](/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-responsecurve)


## Related topics

- [無障礙功能標籤](/zh-TW/build/game-principles/accessibility/accessibility-feature-tags.md)
- [Analyzing Your Matchmaking Queue Usage](/ja-jp/services/playfab/multiplayer/matchmaking/usage.md)
- [アクセシビリティ機能タグ](/ja-jp/build/game-principles/accessibility/accessibility-feature-tags.md)
- [GameInputKind](/ja-jp/reference/input/gameinput/enums/gameinputkind.md)
- [GameInput フォースフィードバックインターフェイス](/ja-jp/build/core-features/common/input/hardware/input-hardware-force-feedback.md)
