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

# GameInputRawDeviceReportItemInfo

> GameInputRawDeviceReportItemInfo

# GameInputRawDeviceReportItemInfo

<Warning>**已淘汰。** 此結構已在 GameInput v1 中移除，目前的 API 中無法使用。目前的 [GameInputRawDeviceReportInfo](/zh-TW/reference/input/gameinput/structs/gameinputrawdevicereportinfo) 使用不同的項目描述元。</Warning>

描述原始 HID 裝置報告中的個別資料項目。

## 語法

```cpp theme={null}
typedef struct GameInputRawDeviceReportItemInfo {
    uint32_t bitOffset;
    uint32_t bitSize;
    int64_t logicalMin;
    int64_t logicalMax;
    int64_t physicalMin;
    int64_t physicalMax;
    GameInputRawDevicePhysicalUnitKind physicalUnits;
    uint32_t rawPhysicalUnits;
    int32_t rawPhysicalUnitsExponent;
    GameInputRawDeviceReportItemFlags flags;
    uint32_t usageCount;
    const GameInputUsage* usages;
    const GameInputRawDeviceItemCollectionInfo* collection;
    const GameInputLabel* itemLabel;
    const GameInputLabel* collectionLabel;
} GameInputRawDeviceReportItemInfo;
```

## 成員

**bitOffset**\
類型：uint32\_t

此項目在報告中的位元位移。

**bitSize**\
類型：uint32\_t

此項目的大小，單位為位元。

**logicalMin, logicalMax**\
類型：int64\_t

此項目的邏輯 (原始) 值範圍。

**physicalMin, physicalMax**\
類型：int64\_t

此項目的實體值範圍 (套用單位指數之後)。

**physicalUnits**\
類型：[GameInputRawDevicePhysicalUnitKind](/zh-TW/reference/input/gameinput/deprecated/enums/gameinputrawdevicephysicalunitkind)

此項目的實體單位系統。

**rawPhysicalUnits**\
類型：uint32\_t

原始 HID 實體單位值。

**rawPhysicalUnitsExponent**\
類型：int32\_t

要套用至原始實體值的十進位指數。

**flags**\
類型：[GameInputRawDeviceReportItemFlags](/zh-TW/reference/input/gameinput/deprecated/enums/gameinputrawdevicereportitemflags)

描述項目屬性的旗標。

**usageCount**\
類型：uint32\_t

此項目的 HID 用法數目。

**usages**\
類型：const GameInputUsage\*

指向包含 `usageCount` 個用法之陣列的指標。

**collection**\
類型：const [GameInputRawDeviceItemCollectionInfo](/zh-TW/reference/input/gameinput/deprecated/structs/gameinputrawdeviceitemcollectioninfo)\*

此項目所屬的集合。

**itemLabel**\
類型：const GameInputLabel\*

項目的選用標籤。

**collectionLabel**\
類型：const GameInputLabel\*

父集合的選用標籤。

## 版本歷程記錄

| 版本 | 變更 |
| - | - |
| **v1** | 已移除。 |
| **v0** | 推出。 |

## 另請參閱

[已淘汰的 GameInput API 成員](/zh-TW/reference/input/gameinput/deprecated/gameinput_deprecated_members)
[GameInputRawDeviceItemCollectionInfo](/zh-TW/reference/input/gameinput/deprecated/structs/gameinputrawdeviceitemcollectioninfo)
[GameInputRawDevicePhysicalUnitKind](/zh-TW/reference/input/gameinput/deprecated/enums/gameinputrawdevicephysicalunitkind)
[GameInputRawDeviceReportItemFlags](/zh-TW/reference/input/gameinput/deprecated/enums/gameinputrawdevicereportitemflags)


## Related topics

- [GameInputRawDeviceReportItemInfo](/ja-jp/reference/input/gameinput/deprecated/structs/gameinputrawdevicereportiteminfo.md)
- [GameInputRawDeviceReportItemFlags](/reference/input/gameinput/deprecated/enums/gameinputrawdevicereportitemflags.md)
