Skip to main content

GameInputSensorAccuracy

Enumerates levels of accuracy for sensors.

Syntax

Constants

Remarks

Determine the degree of accuracy that is required for your application’s needs. To improve accuracy, ask the user to calibrate their compass by moving the device in a figure-8 pattern. We suggest doing this no more than every 10 minutes. These values are used in the GameInputSensorsState structure as part of the GameInputSensorsCompass group. For more information about getting device readings, see GameInput readings.

Requirements

Header: GameInput.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

Overview of GameInput
GameInput
Windows.Devices.Sensors MagnetometerAccuracy

Version History

Last modified on August 31, 2026