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

# GetExtraButtonCount

> GetExtraButtonCount

# GetExtraButtonCount

특정 입력 종류에 대해 장치에 있는 추가 버튼(지원되지 않는 버튼)의 수를 가져옵니다.

## 구문

```cpp theme={null}
HRESULT GetExtraButtonCount(
    GameInputKind inputKind,
    uint32_t* extraButtonCount
);
```

### 매개변수

*inputKind*   \_In\_\
형식: GameInputKind

추가 버튼 수를 요청하는 대상 입력 종류입니다.

*extraButtonCount*   \_Out\_\
형식: uint32\_t\*

지정된 입력 종류에 대해 장치에 있는 추가 버튼(지원되지 않는 버튼)의 수입니다.

### 반환값

형식: HRESULT

함수 결과.

## 설명

추가 버튼은 물리적 장치에 존재하지만 지정된 입력 종류에 대한 표준 매핑의 일부가 아닌 컨트롤러 버튼입니다. 이 메서드는 표준 입력 매핑을 넘어서는 장치별 버튼에 접근하려는 애플리케이션에 유용합니다.

얻은 수는 [GetExtraButtonIndexes](/ko/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getextrabuttonindexes.md) 메서드와 함께 사용되어 이러한 추가 버튼의 특정 인덱스를 검색하고, 해당 메서드가 제공하는 버튼 인덱스를 저장할 올바른 공간을 버퍼링하는 데 사용됩니다.

## 요구 사항

**헤더:** GameInput.h

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

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

## 함께 보기

[GameInputKind](/ko/reference/input/gameinput/enums/gameinputkind.md)\

[GetExtraButtonIndexes](/ko/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getextrabuttonindexes.md)\

[GetExtraAxisCount](/ko/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getextraaxiscount.md)\

[IGameInputDevice](/ko/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md)

## 버전 기록

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


## Related topics

- [GetExtraButtonIndexes](/ko/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getextrabuttonindexes.md)
- [GetExtraAxisCount](/ko/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getextraaxiscount.md)
- [IGameInputDevice (인터페이스 콘텐츠)](/ko/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md)
- [GetControllerButtonCount](/ko/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getcontrollerbuttoncount.md)
- [GetExtraAxisIndexes](/ko/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getextraaxisindexes.md)
