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

# GameInputRawDeviceItemCollectionKind（已弃用）

> GameInputRawDeviceItemCollectionKind

# GameInputRawDeviceItemCollectionKind

> [!WARNING]
>
> **已弃用。** 此枚举已在 GameInput v1 中移除，当前 API 中不再提供。

定义标识 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 成员](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
[GameInputRawDeviceItemCollectionInfo](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/structs/gameinputrawdeviceitemcollectioninfo.md)


## Related topics

- [GameInputRawDeviceItemCollectionInfo（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/structs/gameinputrawdeviceitemcollectioninfo.md)
- [GameInputRawDeviceReportItemInfo（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/structs/gameinputrawdevicereportiteminfo.md)
- [GameInputRawDevicePhysicalUnitKind（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/enums/gameinputrawdevicephysicalunitkind.md)
- [GameInputRawDeviceReportItemFlags（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/enums/gameinputrawdevicereportitemflags.md)
- [IGameInputDevice::SetRawDeviceFeature（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_setrawdevicefeature.md)
