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

# GameInputRawDeviceReportItemFlags（已弃用）

> GameInputRawDeviceReportItemFlags

# GameInputRawDeviceReportItemFlags

> [!WARNING]
>
> **已弃用。** 此枚举已在 GameInput v1 中移除，当前 API 中不再提供。

定义描述单个原始 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 成员](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
[GameInputRawDeviceReportItemInfo](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/structs/gameinputrawdevicereportiteminfo.md)


## Related topics

- [GameInputRawDeviceReportItemInfo（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/structs/gameinputrawdevicereportiteminfo.md)
- [GameInputRawDeviceItemCollectionInfo（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/structs/gameinputrawdeviceitemcollectioninfo.md)
- [GameInputRawDevicePhysicalUnitKind（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/enums/gameinputrawdevicephysicalunitkind.md)
- [GameInputRawDeviceItemCollectionKind（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/enums/gameinputrawdeviceitemcollectionkind.md)
- [IGameInputDevice::SetRawDeviceFeature（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_setrawdevicefeature.md)
