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

# IGameInputDevice::GetDeviceFamily

> 장치가 속한 입력 장치 계열을 가져옵니다.

장치가 속한 입력 장치 계열을 가져옵니다.

## 구문

```cpp theme={null}
GameInputDeviceFamily GetDeviceFamily();
```

### 매개변수

이 메서드에는 매개변수가 없습니다.

### 반환값

형식: [GameInputDeviceFamily](https://docs.xbox.com/ko/reference/input/gameinput/enums/gameinputdevicefamily.md)

`GameInputFamilyXboxOne`, `GameInputFamilyHid` 또는 `GameInputFamilyAggregate`와 같은 입력 장치의 계열입니다. 계열을 확인할 수 없으면 `GameInputFamilyUnknown`을 반환합니다.

## 설명

장치 계열은 GameInput이 장치와 통신하는 데 사용하는 드라이버 또는 프로토콜을 식별합니다. 장치가 제공하는 입력 종류를 설명하지는 않습니다. 이를 확인하려면 [IGameInputDevice::GetSupportedInput](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getsupportedinput.md)을 사용하세요.

[IGameInput::CreateAggregateDevice](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinput/methods/igameinput_createaggregatedevice.md)로 생성된 집계 장치는 `GameInputFamilyAggregate`를 보고합니다.

장치 계열은 장치 개체의 수명 동안 변경되지 않습니다.

GameInput v3 이하에서는 [IGameInputDevice::GetDeviceInfo](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_getdeviceinfo.md)가 반환하는 [GameInputDeviceInfo](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/structs/gameinputdeviceinfo.md) 구조체의 `deviceFamily` 멤버에서 이 정보를 얻을 수 있었습니다.

## 요구 사항

**헤더:** GameInput.h

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

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

## 함께 보기

[GameInput 개요](https://docs.xbox.com/ko/build/core-features/common/input/overviews/input-overview.md)\
[IGameInputDevice](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md)\
[GameInputDeviceFamily](https://docs.xbox.com/ko/reference/input/gameinput/enums/gameinputdevicefamily.md)\
[IGameInputDevice::GetSupportedInput](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getsupportedinput.md)

## 버전 기록

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


## Related topics

- [GameInputDeviceFamily](https://docs.xbox.com/ko/reference/input/gameinput/enums/gameinputdevicefamily.md)
- [IGameInputDevice (인터페이스 콘텐츠)](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md)
- [IGameInputDevice::GetDeviceId](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getdeviceid.md)
- [IGameInputDevice::GetXInputDeviceIndex](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getxinputdeviceindex.md)
- [IGameInputDevice::GetDeviceRootId](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getdevicerootid.md)
