> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GameInputSensorAccuracy

> GameInputSensorAccuracy

# GameInputSensorAccuracy

Enumerates levels of accuracy for sensors.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
enum GameInputSensorAccuracy
{
    GameInputSensorAccuracyUnknown      = 0x00000000,
    GameInputSensorAccuracyUnreliable   = 0x00000001,
    GameInputSensorAccuracyApproximate  = 0x00000002,
    GameInputSensorAccuracyHigh         = 0x00000003
};
```

<a id="constantsSection" />

## Constants

| Constant                           | Description                                                               |
| ---------------------------------- | ------------------------------------------------------------------------- |
| GameInputSensorAccuracyUnknown     | The accuracy is currently not available.                                  |
| GameInputSensorAccuracyUnreliable  | The actual and reported values have a high degree of inaccuracy.          |
| GameInputSensorAccuracyApproximate | The actual and reported values differ but may be accurate enough for some |
| application.                       |                                                                           |
| GameInputSensorAccuracyHigh        | The actual and reported values are accurate.                              |

<a id="remarksSection" />

## 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](/reference/input/gameinput/structs/gameinputsensorsstate) structure as part of the
[GameInputSensorsCompass](/reference/input/gameinput/enums/gameinputsensorskind) group.

For more information about getting device readings, see [GameInput readings](/build/core-features/common/input/overviews/input-readings).

<a id="requirementsSection" />

## Requirements

**Header:** GameInput.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

<a id="seealsoSection" />

## See also

[Overview of GameInput](/build/core-features/common/input/overviews/input-overview)<br />
[GameInput](/reference/input/gameinput/gameinput_members)<br />
[Windows.Devices.Sensors MagnetometerAccuracy](https://learn.microsoft.com/uwp/api/windows.devices.sensors.magnetometeraccuracy)

## Version History

| Version | Changes     |
| ------- | ----------- |
| **v2**  | Introduced. |


## Related topics

- [GameInputSensorsState](/reference/input/gameinput/structs/gameinputsensorsstate.md)
- [GameInput](/reference/input/gameinput/gameinput_members.md)
- [GameInputMotionAccuracy](/reference/input/gameinput/deprecated/enums/gameinputmotionaccuracy.md)
- [Sensors in GameInput](/build/core-features/common/input/hardware/input-hardware-sensors.md)
- [GameInputSensorsKind](/reference/input/gameinput/enums/gameinputsensorskind.md)
