Skip to main content

IGameInputReading::GetMotionState

Deprecated. This method was removed in GameInput v1 and is not available in the current API.
Gets the motion (accelerometer and gyroscope) state from the reading.

Syntax

Parameters

state   _Out_
Type: GameInputMotionState*
A pointer to a GameInputMotionState structure to fill with motion data.

Return value

Type: bool Returns true if the reading contains motion state; false otherwise.

Remarks

This method and the associated GameInputMotionState struct were removed in v1. Motion state was available on devices that exposed accelerometer and gyroscope axes.

Version History

See also

Deprecated GameInput API members
GameInputMotionState
IGameInputReading
Last modified on August 4, 2026