> ## 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-TW/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-TW/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
[GameInputRawDeviceItemCollectionKind](https://docs.xbox.com/zh-TW/reference/input/gameinput/deprecated/enums/gameinputrawdeviceitemcollectionkind.md)
[GameInputRawDeviceReportItemInfo](https://docs.xbox.com/zh-TW/reference/input/gameinput/deprecated/structs/gameinputrawdevicereportiteminfo.md)


## Related topics

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