GameInputMotionAccuracy

Enumerates levels of accuracy for motion sensors in an input device.

Syntax

typedef enum GameInputMotionAccuracy  
{  
    GameInputMotionAccuracyUnknown = -1,  
    GameInputMotionUnavailable = 0,  
    GameInputMotionUnreliable = 1,  
    GameInputMotionApproximate = 2,  
    GameInputMotionAccurate = 3  
} GameInputMotionAccuracy  

Constants

Constant Description
GameInputMotionAccuracyUnknown Motion accuracy is not known.
GameInputMotionUnavailable Motion accuracy is currently not available.
GameInputMotionUnreliable Motion accuracy is unreliable; that is, actual and reported values might differ significantly.
GameInputMotionApproximate Motion accuracy is approximate. For some titles, this level might be sufficient.
GameInputMotionAccurate Motion accuracy is accurate.

Remarks

This enumeration is used in the GameInputMotionState structure to describe motion-sensor accuracy. GameInputMotionState is used by the IGameInputReading::GetMotionState method.

A title can use these values to decide whether to accept motion input from the device.

Requirements

Header: GameInput.h

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

Overview of GameInput
GameInput