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

# GameInputMotionState (en desuso)

> GameInputMotionState

# GameInputMotionState

> [!WARNING]
>
> **En desuso.** Esta estructura se quitó en GameInput v1 y no está disponible en la API actual.

Describe el estado actual del acelerómetro, el giroscopio y el magnetómetro de una lectura de entrada.

## Sintaxis

```cpp theme={null}
typedef struct GameInputMotionState {
    float accelerationX;
    float accelerationY;
    float accelerationZ;
    float angularVelocityX;
    float angularVelocityY;
    float angularVelocityZ;
    float magneticFieldX;
    float magneticFieldY;
    float magneticFieldZ;
} GameInputMotionState;
```

## Miembros

**accelerationX, accelerationY, accelerationZ**\
Tipo: float

La aceleración lineal medida en m/s² a lo largo de cada eje.

**angularVelocityX, angularVelocityY, angularVelocityZ**\
Tipo: float

La velocidad angular medida en grados/s alrededor de cada eje.

**magneticFieldX, magneticFieldY, magneticFieldZ**\
Tipo: float

La intensidad del campo magnético medida en gauss a lo largo de cada eje.

## Comentarios

Esta estructura la devolvía el método en desuso [IGameInputReading::GetMotionState](https://docs.xbox.com/es/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_getmotionstate.md). Ambos se quitaron en v1.

## Historial de versiones

| Versión | Cambios |
| - | - |
| **v1** | Se quitó. |
| **v0** | Se introdujo. |

## Consulte también

[Miembros de la API de GameInput en desuso](https://docs.xbox.com/es/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
[IGameInputReading::GetMotionState](https://docs.xbox.com/es/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_getmotionstate.md)
[GameInputMotionInfo](https://docs.xbox.com/es/reference/input/gameinput/deprecated/structs/gameinputmotioninfo.md)


## Related topics

- [IGameInputReading::GetMotionState (en desuso)](https://docs.xbox.com/es/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_getmotionstate.md)
- [GameInputMotionInfo (en desuso)](https://docs.xbox.com/es/reference/input/gameinput/deprecated/structs/gameinputmotioninfo.md)
- [GameInputMotionAccuracy (en desuso)](https://docs.xbox.com/es/reference/input/gameinput/deprecated/enums/gameinputmotionaccuracy.md)
- [Miembros de la API de GameInput en desuso](https://docs.xbox.com/es/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
- [GameInputBatteryState (en desuso)](https://docs.xbox.com/es/reference/input/gameinput/deprecated/structs/gameinputbatterystate.md)
