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

# GameInputMotionInfo

> GameInputMotionInfo

# GameInputMotionInfo

<Warning>**已弃用。** 此结构已在 GameInput v1 中移除，当前 API 中不再提供。</Warning>

描述支持运动的输入设备的可测量运动属性。

## 语法

```cpp theme={null}
typedef struct GameInputMotionInfo {
    float maxAcceleration;
    float maxAngularVelocity;
    float maxMagneticFieldStrength;
} GameInputMotionInfo;
```

## 成员

**maxAcceleration**\
类型：float

可测量的最大线性加速度（单位：m/s²）。

**maxAngularVelocity**\
类型：float

可测量的最大角速度（单位：度/秒）。

**maxMagneticFieldStrength**\
类型：float

可测量的最大磁场强度（单位：高斯）。

## 备注

此结构曾出现在 v0 `GameInputDeviceInfo` 的 `motionInfo` 字段中。它与所有运动相关成员一同在 v1 中被移除。当前的 [GameInputDeviceInfo](/reference/input/gameinput/structs/gameinputdeviceinfo) 中没有对应的字段。

## 版本历史

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

## 另请参阅

[已弃用的 GameInput API 成员](/reference/input/gameinput/deprecated/gameinput_deprecated_members)
[GameInputMotionState](/reference/input/gameinput/deprecated/structs/gameinputmotionstate)


## Related topics

- [GameInputMotionState](/zh-CN/reference/input/gameinput/deprecated/structs/gameinputmotionstate.md)
- [GameInput](/zh-CN/reference/input/gameinput/gameinput_members.md)
- [已弃用的 GameInput API 成员](/zh-CN/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
- [GameInputMotionAccuracy](/zh-CN/reference/input/gameinput/deprecated/enums/gameinputmotionaccuracy.md)
- [IGameInputReading::GetMotionState](/zh-CN/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_getmotionstate.md)
