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

# GameInputRawDeviceItemCollectionInfo（已弃用）

> GameInputRawDeviceItemCollectionInfo

# GameInputRawDeviceItemCollectionInfo

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

描述一个将相关原始设备报告项分组的 HID 集合。

## 语法

```cpp theme={null}
typedef struct GameInputRawDeviceItemCollectionInfo {
    GameInputRawDeviceItemCollectionKind kind;
    uint32_t childCount;
    uint32_t siblingCount;
    uint32_t usageCount;
    const GameInputUsage* usages;
    const GameInputRawDeviceItemCollectionInfo* parent;
    const GameInputRawDeviceItemCollectionInfo* firstSibling;
    const GameInputRawDeviceItemCollectionInfo* previousSibling;
    const GameInputRawDeviceItemCollectionInfo* nextSibling;
    const GameInputRawDeviceItemCollectionInfo* lastSibling;
    const GameInputRawDeviceItemCollectionInfo* firstChild;
    const GameInputRawDeviceItemCollectionInfo* lastChild;
} GameInputRawDeviceItemCollectionInfo;
```

## 成员

**kind**\
类型：[GameInputRawDeviceItemCollectionKind](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/enums/gameinputrawdeviceitemcollectionkind.md)

HID 集合的类型。

**childCount**\
类型：uint32\_t

子集合的数量。

**siblingCount**\
类型：uint32\_t

同级集合的数量（位于同一层级）。

**usageCount**\
类型：uint32\_t

与此集合关联的 HID 用法数量。

**usages**\
类型：const GameInputUsage\*

指向 `usageCount` 个 HID 用法数组的指针。

**parent, firstSibling, previousSibling, nextSibling, lastSibling, firstChild, lastChild**\
类型：const GameInputRawDeviceItemCollectionInfo\*

用于构建集合树的导航指针。

## 版本历史

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

## 另请参阅

[已弃用的 GameInput API 成员](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
[GameInputRawDeviceItemCollectionKind](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/enums/gameinputrawdeviceitemcollectionkind.md)
[GameInputRawDeviceReportItemInfo](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/structs/gameinputrawdevicereportiteminfo.md)


## Related topics

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