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

# GameInputMotionAccuracy（已弃用）

> GameInputMotionAccuracy

# GameInputMotionAccuracy

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

定义描述运动传感器读数精度的常量。

## 语法

```cpp theme={null}
enum GameInputMotionAccuracy
{
    GameInputMotionAccuracyUnknown      = -1,
    GameInputMotionAccuracyUnavailable  = 0,
    GameInputMotionAccuracyUnreliable   = 1,
    GameInputMotionAccuracyLow          = 2,
    GameInputMotionAccuracyMedium       = 3,
    GameInputMotionAccuracyHigh         = 4,
};
```

## 常量

| 常量 | 值 | 说明 |
| - | - | - |
| GameInputMotionAccuracyUnknown | -1 | 精度未知。 |
| GameInputMotionAccuracyUnavailable | 0 | 传感器数据不可用。 |
| GameInputMotionAccuracyUnreliable | 1 | 传感器数据不可靠。 |
| GameInputMotionAccuracyLow | 2 | 低精度。 |
| GameInputMotionAccuracyMedium | 3 | 中等精度。 |
| GameInputMotionAccuracyHigh | 4 | 高精度。 |

## 版本历史

| 版本 | 变更 |
| - | - |
| **v1** | 已移除。 |
| **v0** | 已引入。 |

## 另请参阅

[已弃用的 GameInput API 成员](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
[GameInputMotionState](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/structs/gameinputmotionstate.md)


## Related topics

- [已弃用的 GameInput API 成员](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
- [GameInputMotionInfo（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/structs/gameinputmotioninfo.md)
- [GameInputMotionState（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/structs/gameinputmotionstate.md)
- [IGameInputReading::GetMotionState（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_getmotionstate.md)
- [GameInputString（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/structs/gameinputstring.md)
