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

# GameInputMotionInfo (déconseillé)

> GameInputMotionInfo

# GameInputMotionInfo

> [!WARNING]
>
> **Obsolète.** Cette structure a été supprimée dans GameInput v1 et n'est pas disponible dans l'API actuelle.

Décrit les propriétés de mouvement mesurables d'un périphérique d'entrée doté de capteurs de mouvement.

## Syntaxe

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

## Membres

**maxAcceleration**\
Type : float

Accélération linéaire maximale mesurable, en m/s².

**maxAngularVelocity**\
Type : float

Vitesse angulaire maximale mesurable, en degrés/s.

**maxMagneticFieldStrength**\
Type : float

Intensité maximale mesurable du champ magnétique, en gauss.

## Remarques

Cette structure figurait dans le champ `motionInfo` de `GameInputDeviceInfo` en v0. Elle a été supprimée dans v1 avec tous les membres liés au mouvement. La structure [GameInputDeviceInfo](https://docs.xbox.com/fr/reference/input/gameinput/structs/gameinputdeviceinfo.md) actuelle ne comporte aucun champ correspondant.

## Historique des versions

| Version | Modifications |
| - | - |
| **v1** | Supprimée. |
| **v0** | Introduite. |

## Voir aussi

[Membres obsolètes de l'API GameInput](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
[GameInputMotionState](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/structs/gameinputmotionstate.md)


## Related topics

- [GameInputMotionState (déconseillé)](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/structs/gameinputmotionstate.md)
- [GameInputMotionAccuracy (déconseillé)](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/enums/gameinputmotionaccuracy.md)
- [IGameInputReading::GetMotionState (déconseillé)](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_getmotionstate.md)
- [GameInputControllerAxisInfo (déconseillé)](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/structs/gameinputcontrolleraxisinfo.md)
- [GameInputControllerButtonInfo (déconseillé)](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/structs/gameinputcontrollerbuttoninfo.md)
