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

# GameInputSensorAccuracy

> GameInputSensorAccuracy

Enumerates levels of accuracy for sensors.

## Syntax

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

## 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. |

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

For more information about getting device readings, see [GameInput readings](https://docs.xbox.com/build/core-features/common/input/overviews/input-readings.md).

## Requirements

**Header:** GameInput.h

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

## See also

[Overview of GameInput](https://docs.xbox.com/build/core-features/common/input/overviews/input-overview.md)\

[GameInput](https://docs.xbox.com/reference/input/gameinput/gameinput_members.md)\

[Windows.Devices.Sensors MagnetometerAccuracy](https://learn.microsoft.com/uwp/api/windows.devices.sensors.magnetometeraccuracy)

## Version History

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


## Related topics

- [GameInputSensorsState](https://docs.xbox.com/reference/input/gameinput/structs/gameinputsensorsstate.md)
- [GameInput API members](https://docs.xbox.com/reference/input/gameinput/gameinput_members.md)
- [GameInputMotionAccuracy (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/enums/gameinputmotionaccuracy.md)
- [GameInput sensors creation](https://docs.xbox.com/build/core-features/common/input/hardware/input-hardware-sensors.md)
- [GameInputSensorsKind](https://docs.xbox.com/reference/input/gameinput/enums/gameinputsensorskind.md)
