IGameInputReading::GetMotionState
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 Returnstrue 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 membersGameInputMotionState
IGameInputReading
