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

# GameInputDeviceFamily

> GameInputDeviceFamily

# GameInputDeviceFamily

入力デバイスのファミリを列挙します。

<a id="syntaxSection" />

## 構文

```cpp theme={null}
enum GameInputDeviceFamily
{
    GameInputFamilyVirtual   = -1,
    GameInputFamilyUnknown   =  0,
    GameInputFamilyXboxOne   =  1,
    GameInputFamilyXbox360   =  2,
    GameInputFamilyHid       =  3,
    GameInputFamilyI8042     =  4,
    GameInputFamilyAggregate =  5,
};
```

<a id="constantsSection" />

## 定数

| 定数                       | 説明                                            |
| ------------------------ | --------------------------------------------- |
| GameInputFamilyVirtual   | プラットフォーム上の仮想化された入力デバイスを表します。                  |
| GameInputFamilyUnknown   | 不明なデバイス ファミリを表します。                            |
| GameInputFamilyXboxOne   | XboxGIP または XInputHID ドライバーで管理されているデバイスを表します。 |
| GameInputFamilyXbox360   | XUSB22 ドライバーで管理されているデバイスを表します。                |
| GameInputFamilyHid       | 汎用のヒューマン インターフェイス デバイス (HID) を表します。           |
| GameInputFamilyI8042     | i8042 バス経由で接続された入力デバイスを表します。                  |
| GameInputFamilyAggregate | 集約入力デバイスを表します。                                |

<a id="remarksSection" />

## 解説

この列挙型は [GameInputDeviceInfo](/reference/input/gameinput/structs/gameinputkeyboardinfo) 構造体で使用されます。`GameInputDeviceInfo` は [GetDeviceInfo](/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getdeviceinfo) 関数によって使用されます。

詳細については、[GameInput デバイス](/build/core-features/common/input/overviews/input-devices) を参照してください。

<a id="requirementsSection" />

## 要件

**ヘッダー:** GameInput.h

**サポートされているプラットフォーム:** Windows、XBOX One ファミリ本体、XBOX Series 本体

<a id="seealsoSection" />

## 関連項目

[GameInput の概要](/build/core-features/common/input/overviews/input-overview)\
[GameInput](/reference/input/gameinput/gameinput_members)

## バージョン履歴

| バージョン  | 変更内容                                                                                                              |
| ------ | ----------------------------------------------------------------------------------------------------------------- |
| **v3** | `GameInputFamilyUnknown` (値 0) を **追加** しました。集約デバイスの実装に伴い、`GameInputFamilyAggregate` の値を 0 から 5 に **再割り当て** しました。 |
| **v0** | 導入されました。                                                                                                          |

## 付録: 以前のバージョン

### v0

```cpp theme={null}
enum GameInputDeviceFamily
{
    GameInputFamilyVirtual   = -1,
    GameInputFamilyAggregate =  0,
    GameInputFamilyXboxOne   =  1,
    GameInputFamilyXbox360   =  2,
    GameInputFamilyHid       =  3,
    GameInputFamilyI8042     =  4,
};
```


## Related topics

- [GameInput](/ja-jp/reference/input/gameinput/gameinput_members.md)
- [MicrosoftGame.config 要素 - TargetDeviceFamilyForDLC](/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-targetdevicefamilyfordlc.md)
- [GameInputDeviceStatus](/ja-jp/reference/input/gameinput/enums/gameinputdevicestatus.md)
- [GameInputDeviceCapabilities](/ja-jp/reference/input/gameinput/deprecated/enums/gameinputdevicecapabilities.md)
- [GameInputDeviceCallback](/ja-jp/reference/input/gameinput/functions/gameinputdevicecallback.md)
