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


## Related topics

- [GameInputRawDeviceItemCollectionInfo](/ja-jp/reference/input/gameinput/deprecated/structs/gameinputrawdeviceitemcollectioninfo.md)
- [GameInputRawDeviceItemCollectionKind](/reference/input/gameinput/deprecated/enums/gameinputrawdeviceitemcollectionkind.md)
