GameInputRawDeviceReportItemFlags
已弃用。 此枚举已在 GameInput v1 中移除,当前 API 中不再提供。
语法
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 | 已引入。 |
