> ## 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 成员](/reference/input/gameinput/deprecated/gameinput_deprecated_members)
[GameInputRawDeviceReportItemInfo](/reference/input/gameinput/deprecated/structs/gameinputrawdevicereportiteminfo)


## Related topics

- [GameInputRawDeviceReportItemInfo](/zh-CN/reference/input/gameinput/deprecated/structs/gameinputrawdevicereportiteminfo.md)
- [GameInput](/zh-CN/reference/input/gameinput/gameinput_members.md)
- [已弃用的 GameInput API 成员](/zh-CN/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
- [GameInputRawDeviceItemCollectionInfo](/zh-CN/reference/input/gameinput/deprecated/structs/gameinputrawdeviceitemcollectioninfo.md)
- [GameInputRawDeviceItemCollectionKind](/zh-CN/reference/input/gameinput/deprecated/enums/gameinputrawdeviceitemcollectionkind.md)
