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

# GameInputRawDeviceReportItemFlags

> GameInputRawDeviceReportItemFlags

# GameInputRawDeviceReportItemFlags

<Warning>**已淘汰。** 此列舉已在 GameInput v1 中移除，目前的 API 中無法使用。</Warning>

定義用來描述個別原始 HID 裝置報告項目屬性的位元遮罩旗標。

## 語法

```cpp theme={null}
enum GameInputRawDeviceReportItemFlags : uint32_t
{
    GameInputRawDeviceReportItemFlagNone                = 0x00000000,
    GameInputRawDeviceReportItemFlagConstant            = 0x00000001,
    GameInputRawDeviceReportItemFlagVariable            = 0x00000002,
    GameInputRawDeviceReportItemFlagRelative            = 0x00000004,
    GameInputRawDeviceReportItemFlagWrap                = 0x00000008,
    GameInputRawDeviceReportItemFlagNonLinear           = 0x00000010,
    GameInputRawDeviceReportItemFlagNoPreferredState    = 0x00000020,
    GameInputRawDeviceReportItemFlagHasNullState        = 0x00000040,
    GameInputRawDeviceReportItemFlagVolatile            = 0x00000080,
    GameInputRawDeviceReportItemFlagBufferedBytes       = 0x00000100,
};
```

## 常數

| 常數 | 值 | 描述 |
| - | - | - |
| GameInputRawDeviceReportItemFlagNone | 0x00000000 | 未設定任何旗標。 |
| GameInputRawDeviceReportItemFlagConstant | 0x00000001 | 項目值為常數 (無法變更)。 |
| GameInputRawDeviceReportItemFlagVariable | 0x00000002 | 項目為變數 (而非陣列)。 |
| GameInputRawDeviceReportItemFlagRelative | 0x00000004 | 項目回報相對 (而非絕對) 的變化。 |
| GameInputRawDeviceReportItemFlagWrap | 0x00000008 | 項目會在邏輯限制處繞回。 |
| GameInputRawDeviceReportItemFlagNonLinear | 0x00000010 | 項目具有非線性回應。 |
| GameInputRawDeviceReportItemFlagNoPreferredState | 0x00000020 | 項目沒有偏好 (中立) 狀態。 |
| GameInputRawDeviceReportItemFlagHasNullState | 0x00000040 | 項目具有 null (超出範圍) 狀態。 |
| GameInputRawDeviceReportItemFlagVolatile | 0x00000080 | 項目為揮發性 (值可能在兩次讀取之間變更)。 |
| GameInputRawDeviceReportItemFlagBufferedBytes | 0x00000100 | 項目使用緩衝位元組傳輸。 |

## 版本歷程記錄

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

## 另請參閱

[已淘汰的 GameInput API 成員](/zh-TW/reference/input/gameinput/deprecated/gameinput_deprecated_members)
[GameInputRawDeviceReportItemInfo](/zh-TW/reference/input/gameinput/deprecated/structs/gameinputrawdevicereportiteminfo)


## Related topics

- [GameInputRawDeviceReportItemInfo](/zh-TW/reference/input/gameinput/deprecated/structs/gameinputrawdevicereportiteminfo.md)
- [GameInput](/zh-TW/reference/input/gameinput/gameinput_members.md)
- [已淘汰的 GameInput API 成員](/zh-TW/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
- [GameInputRawDeviceItemCollectionInfo](/zh-TW/reference/input/gameinput/deprecated/structs/gameinputrawdeviceitemcollectioninfo.md)
- [GameInputRawDeviceReportInfo](/zh-TW/reference/input/gameinput/structs/gameinputrawdevicereportinfo.md)
