> ## 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). 이 컨트롤이 매핑되는 게임패드 축(들) 또는 극좌표 조이스틱 액션입니다.\
[`deadzone`](https://devdocs.xbox.com/ko/reference/system/touchadaptationkit/types/game-streaming-touch-deadzone) - [*object*](https://devdocs.xbox.com/ko/reference/system/touchadaptationkit/types/game-streaming-touch-deadzone), *optional*. 입력이 읽히거나 매핑되지 않는 영역의 크기와 모양입니다.\
`sensitivity` - *number*, *optional*. 응답 곡선 계산 후에 적용되는 배수입니다.\
[`responseCurve` - *object*](https://devdocs.xbox.com/ko/reference/system/touchadaptationkit/types/game-streaming-touch-responsecurve), *optional*. [응답 곡선](https://devdocs.xbox.com/ko/reference/system/touchadaptationkit/types/game-streaming-touch-responsecurve)의 형태입니다.

### 입력 값

| 상수 | 설명 |
| :- | :- |
| axisXY | 완전한 2D 입력으로, X축과 Y축 값을 모두 읽습니다. |
| axisX | 1D 입력으로, X축 값만 읽습니다. |
| axisY | 1D 입력으로, Y축 값만 읽습니다. |
| axisUp | 극좌표 입력입니다. |
| axisDown | 극좌표 입력입니다. |
| axisLeft | 극좌표 입력입니다. |
| axisRight | 극좌표 입력입니다. |

### 출력 값

| 상수 | 설명 |
| :- | :- |
| 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 출력에, 단일 방향은 극좌표 출력에 매핑되어야 합니다.

## 관련 컨트롤

[Accelerometer](https://devdocs.xbox.com/ko/reference/system/touchadaptationkit/sensor-controls/game-streaming-touch-accelerometer)\
[Gyroscope](https://devdocs.xbox.com/ko/reference/system/touchadaptationkit/sensor-controls/game-streaming-touch-gyroscope)\
[Joystick](https://devdocs.xbox.com/ko/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick)\
[Throttle](https://devdocs.xbox.com/ko/reference/system/touchadaptationkit/controls/game-streaming-touch-throttle)
[Touchpad](https://devdocs.xbox.com/ko/reference/system/touchadaptationkit/controls/game-streaming-touch-touchpad)

## 함께 보기

[Touch Adaptation Kit 참조](https://devdocs.xbox.com/ko/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)\
[Deadzone](https://devdocs.xbox.com/ko/reference/system/touchadaptationkit/types/game-streaming-touch-deadzone)\
[Response Curve](https://devdocs.xbox.com/ko/reference/system/touchadaptationkit/types/game-streaming-touch-responsecurve)


## Related topics

- [GetExtraAxisIndexes](https://devdocs.xbox.com/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getextraaxisindexes.md)
- [GameInputAxisMapping](https://devdocs.xbox.com/reference/input/gameinput/structs/gameinputaxismapping.md)
