> ## 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](/zh-TW/reference/input/gameinput/structs/gameinputdeviceinfo) 沒有對應的欄位。

## 版本歷程記錄

| 版本 | 變更 |
| - | - |
| **v1** | 已移除。 |
| **v0** | 推出。 |

## 另請參閱

[已淘汰的 GameInput API 成員](/zh-TW/reference/input/gameinput/deprecated/gameinput_deprecated_members)
[GameInputMotionState](/zh-TW/reference/input/gameinput/deprecated/structs/gameinputmotionstate)


## Related topics

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