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

# GameInputRawDeviceItemCollectionInfo

> GameInputRawDeviceItemCollectionInfo

# GameInputRawDeviceItemCollectionInfo

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

描述一个将相关原始设备报告项分组的 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](/reference/input/gameinput/deprecated/enums/gameinputrawdeviceitemcollectionkind)

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 成员](/reference/input/gameinput/deprecated/gameinput_deprecated_members)
[GameInputRawDeviceItemCollectionKind](/reference/input/gameinput/deprecated/enums/gameinputrawdeviceitemcollectionkind)
[GameInputRawDeviceReportItemInfo](/reference/input/gameinput/deprecated/structs/gameinputrawdevicereportiteminfo)


## Related topics

- [GameInputRawDeviceItemCollectionKind](/zh-CN/reference/input/gameinput/deprecated/enums/gameinputrawdeviceitemcollectionkind.md)
- [GameInputRawDeviceReportItemInfo](/zh-CN/reference/input/gameinput/deprecated/structs/gameinputrawdevicereportiteminfo.md)
- [GameInput](/zh-CN/reference/input/gameinput/gameinput_members.md)
- [已弃用的 GameInput API 成员](/zh-CN/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
- [GameInputRawDeviceReportItemFlags](/zh-CN/reference/input/gameinput/deprecated/enums/gameinputrawdevicereportitemflags.md)
