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

# GameInputSensorsKind

> 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](/reference/input/gameinput/structs/gameinputsensorsinfo) 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](/build/core-features/common/input/overviews/input-overview)<br />
[GameInput](/reference/input/gameinput/gameinput_members)<br />
[GameInputSensorsInfo](/reference/input/gameinput/structs/gameinputsensorsinfo)<br />
[GameInputDeviceInfo](/reference/input/gameinput/structs/gameinputdeviceinfo)<br />
[GameInputSensorsState](/reference/input/gameinput/structs/gameinputsensorsstate)

## Version History

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


## Related topics

- [GameInputSensorsInfo](/reference/input/gameinput/structs/gameinputsensorsinfo.md)
- [IGameInputReading::GetSensorsState](/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getsensorsstate.md)
- [GameInput](/reference/input/gameinput/gameinput_members.md)
- [GameInputSensorsState](/reference/input/gameinput/structs/gameinputsensorsstate.md)
- [GameInputKind](/reference/input/gameinput/enums/gameinputkind.md)
