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

# GameInputMousePositions

> GameInputMousePositions

# GameInputMousePositions

Enumerates mouse buttons.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
enum GameInputMousePositions
{
    GameInputMouseNoPosition       = 0x00000000,
    GameInputMouseAbsolutePosition = 0x00000001,
    GameInputMouseRelativePosition = 0x00000002
};
```

<a id="constantsSection" />

## Constants

| Constant                       | Description                                     |
| ------------------------------ | ----------------------------------------------- |
| GameInputMouseNoPosition       | Indicates the mouse position is unknown.        |
| GameInputMouseAbsolutePosition | Indicates the absolute mouse position is known. |
| GameInputMouseRelativePosition | Indicates the relative mouse position is known. |

<a id="remarksSection" />

## Remarks

These flag values are used in the [GameInputMouseState](/reference/input/gameinput/structs/gameinputmousestate) structure (to get device readings).

For more information about accessing device properties, see [GameInput devices](/build/core-features/common/input/overviews/input-devices). 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)

## Version History

| Version | Changes                                                                                               |
| ------- | ----------------------------------------------------------------------------------------------------- |
| **v1**  | **New enum** introduced in v1 with 3 constants: `NoPosition`, `AbsolutePosition`, `RelativePosition`. |
| **v0**  | Not present.                                                                                          |


## Related topics

- [GameInputMouseState](/reference/input/gameinput/structs/gameinputmousestate.md)
- [GameInput](/reference/input/gameinput/gameinput_members.md)
- [IGameInputReading::GetMouseState](/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getmousestate.md)
- [GameInputMouseButtons](/reference/input/gameinput/enums/gameinputmousebuttons.md)
- [GameInputMouseInfo](/reference/input/gameinput/structs/gameinputmouseinfo.md)
