> ## 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.

# Axis

> Axis

# Axis

タッチ コントロールを物理的なアナログ コントロールに相当するものにマッピングする定義。

## プロパティ

[`input`- *string*](#inputs)。このコントロールが受け入れるタッチ [入力](#inputs) の種類。\
[`output` - *string*](#outputs)。このコントロールがマップされるゲームパッドの軸、軸、または polar joystick アクション。\
[`deadzone`](/ja-jp/reference/system/touchadaptationkit/types/game-streaming-touch-deadzone) - [*object*](/ja-jp/reference/system/touchadaptationkit/types/game-streaming-touch-deadzone)、*省略可*。入力が読み取られたりマッピングされたりしない領域のサイズと形状。\
`sensitivity` - *number*、*省略可*。応答曲線の計算後に適用される乗数。\
[`responseCurve` - *object*](/ja-jp/reference/system/touchadaptationkit/types/game-streaming-touch-responsecurve)、*省略可*。[応答曲線](/ja-jp/reference/system/touchadaptationkit/types/game-streaming-touch-responsecurve) の形状。

### 入力値

| 定数 | 説明 |
| :- | :- |
| axisXY | 完全な 2D 入力。X 軸と Y 軸の両方の値を読み取ります。 |
| axisX | 1D 入力。X 軸の値のみを読み取ります。 |
| axisY | 1D 入力。Y 軸の値のみを読み取ります。 |
| axisUp | Polar 入力。 |
| axisDown | Polar 入力。 |
| axisLeft | Polar 入力。 |
| axisRight | Polar 入力。 |

### 出力値

| 定数 | 説明 |
| :- | :- |
| leftJoystick | 左ジョイスティックへの 2D 出力。 |
| rightJoystick | 右ジョイスティックへの 2D 出力。 |
| leftJoystickX | 左ジョイスティックの X 軸への 1D 出力。 |
| leftJoystickY | 左ジョイスティックの Y 軸への 1D 出力。 |
| rightJoystickX | 右ジョイスティックの X 軸への 1D 出力。 |
| rightJoystickY | 左ジョイスティックの Y 軸への 1D 出力。 |
| leftJoystickLeft | 左ジョイスティックの左方向への Polar 出力。 |
| leftJoystickRight | 左ジョイスティックの右方向への Polar 出力。 |
| leftJoystickUp | 左ジョイスティックの上方向への Polar 出力。 |
| leftJoystickDown | 左ジョイスティックの下方向への Polar 出力。 |
| rightJoystickLeft | 右ジョイスティックの左方向への Polar 出力。 |
| rightJoystickRight | 右ジョイスティックの右方向への Polar 出力。 |
| rightJoystickUp | 右ジョイスティックの上方向への Polar 出力。 |
| rightJoystickDown | 右ジョイスティックの下方向への Polar 出力。 |
| relativeMouse | マウスへの 2D 出力。 |
| relativeMouseX | マウスの X 軸への 1D 出力。 |
| relativeMouseY | マウスの Y 軸への 2D 出力。 |
| relativeMouseLeft | マウスの左方向への Polar 出力。 |
| relativeMouseRight | マウスの右方向への Polar 出力。 |
| relativeMouseUp | マウスの上方向への Polar 出力。 |
| relativeMouseDown | マウスの下方向への Polar 出力。 |

## 補足

2D 入力は 2D 出力にマップされる必要があり、同様に 1D 入力は 1D 出力にマップされる必要があり、単一方向は polar 出力にマップされる必要があります。

## 関連コントロール

[Accelerometer](/ja-jp/reference/system/touchadaptationkit/sensor-controls/game-streaming-touch-accelerometer)\
[Gyroscope](/ja-jp/reference/system/touchadaptationkit/sensor-controls/game-streaming-touch-gyroscope)\
[Joystick](/ja-jp/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick)\
[Throttle](/ja-jp/reference/system/touchadaptationkit/controls/game-streaming-touch-throttle)
[Touchpad](/ja-jp/reference/system/touchadaptationkit/controls/game-streaming-touch-touchpad)

## 関連項目

[Touch Adaptation Kit リファレンス](/ja-jp/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)\
[Deadzone](/ja-jp/reference/system/touchadaptationkit/types/game-streaming-touch-deadzone)\
[Response Curve](/ja-jp/reference/system/touchadaptationkit/types/game-streaming-touch-responsecurve)


## Related topics

- [GetExtraAxisIndexes](/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getextraaxisindexes.md)
- [GameInputAxisMapping](/reference/input/gameinput/structs/gameinputaxismapping.md)
