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

# CreateInputMapper

> CreateInputMapper

# CreateInputMapper

입력 종류의 특정 입력 요소에 대한 매핑 정보를 제공하는 IGameInputMapper 인터페이스를 만듭니다.

## 구문

```cpp theme={null}
HRESULT CreateInputMapper(
    IGameInputMapper** inputMapper
)
```

### 매개변수

*inputMapper*   \_COM\_Outptr\_\
형식: IGameInputMapper\*\*

입력 종류의 특정 입력 요소에 대한 매핑 정보를 제공하는 결과 [IGameInputMapper](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputmapper/igameinputmapper.md) 인터페이스입니다.

### 반환값

형식: HRESULT

이 함수는 매퍼를 만들기에 하드웨어 리소스가 부족하거나 장치가 매핑할 수 있는 입력 종류를 지원하지 않는 경우 오류 결과를 반환합니다.

## 설명

`CreateInputMapper` 메서드는 입력 종류의 특정 입력 요소에 대한 매핑 정보를 제공하는 [IGameInputMapper](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputmapper/igameinputmapper.md) 인터페이스를 만듭니다. 매핑을 생성하는 입력 종류는 [GameInputKindArcadeStick](https://docs.xbox.com/ko/reference/input/gameinput/enums/gameinputkind.md), [GameInputKindFlightStick](https://docs.xbox.com/ko/reference/input/gameinput/enums/gameinputkind.md), [GameInputKindGamepad](https://docs.xbox.com/ko/reference/input/gameinput/enums/gameinputkind.md), [GameInputKindRacingWheel](https://docs.xbox.com/ko/reference/input/gameinput/enums/gameinputkind.md)입니다. 장치가 이러한 입력 종류 중 하나를 지원하지 않는 경우, 이 메서드는 오류 결과를 반환합니다.

## 요구 사항

**헤더:** GameInput.h

**라이브러리:** gameinput.lib

**지원되는 플랫폼:** Windows, XBOX One 제품군 콘솔 및 XBOX Series 콘솔

## 함께 보기

[GameInput](https://docs.xbox.com/ko/reference/input/gameinput/gameinput_members.md)\

[IGameInputDevice](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md)

## 버전 기록

| 버전 | 변경 사항 |
| - | - |
| **v3** | 도입됨. |


## Related topics

- [IGameInputDevice (인터페이스 콘텐츠)](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md)
- [IGameInputMapper (인터페이스 콘텐츠)](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputmapper/igameinputmapper.md)
- [GetGamepadAxisMappingInfo](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getgamepadaxismappinginfo.md)
- [GetGamepadButtonMappingInfo](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getgamepadbuttonmappinginfo.md)
- [GetFlightStickButtonMappingInfo](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getflightstickbuttonmappinginfo.md)
