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

# GameInputRawDeviceReportItemInfo (已淘汰)

> GameInputRawDeviceReportItemInfo

# GameInputRawDeviceReportItemInfo

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

描述原始 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](https://docs.xbox.com/zh-TW/reference/input/gameinput/deprecated/enums/gameinputrawdevicephysicalunitkind.md)

此項目的實體單位系統。

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

原始 HID 實體單位值。

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

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

**flags**\
類型：[GameInputRawDeviceReportItemFlags](https://docs.xbox.com/zh-TW/reference/input/gameinput/deprecated/enums/gameinputrawdevicereportitemflags.md)

描述項目屬性的旗標。

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

此項目的 HID 用法數目。

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

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

**collection**\
類型：const [GameInputRawDeviceItemCollectionInfo](https://docs.xbox.com/zh-TW/reference/input/gameinput/deprecated/structs/gameinputrawdeviceitemcollectioninfo.md)\*

此項目所屬的集合。

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

項目的選用標籤。

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

父集合的選用標籤。

## 版本歷程記錄

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

## 另請參閱

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


## Related topics

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