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

# GameInputSensorsKind

> GameInputSensorsKind

Enumeration of valid GameInput sensor types.

## Syntax

```cpp theme={null}
enum GameInputSensorsKind
{
    GameInputSensorsNone            = 0x00000000,
    GameInputSensorsAccelerometer   = 0x00000001,
    GameInputSensorsGyrometer       = 0x00000002,
    GameInputSensorsCompass         = 0x00000004,
    GameInputSensorsOrientation     = 0x00000008
};
```

## Constants

| Constant | Description |
| - | - |
| GameInputSensorsNone | Indicates no sensors. |
| GameInputSensorsAccelerometer | Indicates the presence of accelerometer data, which represents linear acceleration |
| (including gravity) in g-force with respect to the x, y, and z axes. | |
| GameInputSensorsGyrometer | Indicates the presence of gyrometer data, which represents angular velocity in radians |
| per second with respect to the x, y, and z axes. | |
| GameInputSensorsCompass | Indicates the presence of compass data, which represents a heading in degrees with |
| respect to magnetic north. | |
| GameInputSensorsOrientation | Indicates the presence of orientation data, in the form of a quaternion describing the |
| device's orientation in space. | |

## Remarks

These flag values are used in the [GameInputSensorsInfo](https://docs.xbox.com/reference/input/gameinput/structs/gameinputsensorsinfo.md) structure (to determine
which sensors are present).

## Requirements

**Header:** GameInput.h

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

## See also

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

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

[GameInputSensorsInfo](https://docs.xbox.com/reference/input/gameinput/structs/gameinputsensorsinfo.md)\

[GameInputDeviceInfo](https://docs.xbox.com/reference/input/gameinput/structs/gameinputdeviceinfo.md)\

[GameInputSensorsState](https://docs.xbox.com/reference/input/gameinput/structs/gameinputsensorsstate.md)

## Version History

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


## Related topics

- [GameInputSensorsInfo](https://docs.xbox.com/reference/input/gameinput/structs/gameinputsensorsinfo.md)
- [GetSensorsState](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getsensorsstate.md)
- [GameInput API members](https://docs.xbox.com/reference/input/gameinput/gameinput_members.md)
- [GameInputSensorsState](https://docs.xbox.com/reference/input/gameinput/structs/gameinputsensorsstate.md)
- [GameInputKind](https://docs.xbox.com/reference/input/gameinput/enums/gameinputkind.md)
