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

# GameInputRawDeviceItemCollectionKind

> GameInputRawDeviceItemCollectionKind

# GameInputRawDeviceItemCollectionKind

<Warning>**已弃用。** 此枚举已在 GameInput v1 中移除，当前 API 中不再提供。</Warning>

定义标识 HID 用法集合类型的常量。

## 语法

```cpp theme={null}
enum GameInputRawDeviceItemCollectionKind
{
    GameInputRawDeviceItemCollectionKindUnknown         = -1,
    GameInputRawDeviceItemCollectionKindPhysical        = 0,
    GameInputRawDeviceItemCollectionKindApplication     = 1,
    GameInputRawDeviceItemCollectionKindLogical         = 2,
    GameInputRawDeviceItemCollectionKindReport          = 3,
    GameInputRawDeviceItemCollectionKindNamedArray      = 4,
    GameInputRawDeviceItemCollectionKindUsageSwitch     = 5,
    GameInputRawDeviceItemCollectionKindUsageModifier   = 6,
};
```

## 常量

| 常量                                                | 值  | 说明                 |
| ------------------------------------------------- | -- | ------------------ |
| GameInputRawDeviceItemCollectionKindUnknown       | -1 | 未知的集合类型。           |
| GameInputRawDeviceItemCollectionKindPhysical      | 0  | 位于单一几何平面上的输入的物理集合。 |
| GameInputRawDeviceItemCollectionKindApplication   | 1  | 顶级应用程序集合。          |
| GameInputRawDeviceItemCollectionKindLogical       | 2  | 没有物理含义的逻辑分组。       |
| GameInputRawDeviceItemCollectionKindReport        | 3  | 用于构建报告结构的集合。       |
| GameInputRawDeviceItemCollectionKindNamedArray    | 4  | 命名数组集合。            |
| GameInputRawDeviceItemCollectionKindUsageSwitch   | 5  | 用于为子项选择不同用法的开关。    |
| GameInputRawDeviceItemCollectionKindUsageModifier | 6  | 用于改变同级用法含义的修饰符。    |

## 版本历史

| 版本     | 变更   |
| ------ | ---- |
| **v1** | 已移除。 |
| **v0** | 已引入。 |

## 另请参阅

[已弃用的 GameInput API 成员](/reference/input/gameinput/deprecated/gameinput_deprecated_members)
[GameInputRawDeviceItemCollectionInfo](/reference/input/gameinput/deprecated/structs/gameinputrawdeviceitemcollectioninfo)


## Related topics

- [GameInputRawDeviceItemCollectionInfo](/zh-CN/reference/input/gameinput/deprecated/structs/gameinputrawdeviceitemcollectioninfo.md)
- [GameInput](/zh-CN/reference/input/gameinput/gameinput_members.md)
- [已弃用的 GameInput API 成员](/zh-CN/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
- [GameInputRawDeviceReportItemInfo](/zh-CN/reference/input/gameinput/deprecated/structs/gameinputrawdevicereportiteminfo.md)
- [GameInputRawDevicePhysicalUnitKind](/zh-CN/reference/input/gameinput/deprecated/enums/gameinputrawdevicephysicalunitkind.md)
