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

# GameInputMouseButtons

> GameInputMouseButtons

# GameInputMouseButtons

Enumerates mouse buttons.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
enum GameInputMouseButtons
{
    GameInputMouseNone           = 0x00000000,
    GameInputMouseLeftButton     = 0x00000001,
    GameInputMouseRightButton    = 0x00000002,
    GameInputMouseMiddleButton   = 0x00000004,
    GameInputMouseButton4        = 0x00000008,
    GameInputMouseButton5        = 0x00000010,
    GameInputMouseWheelTiltLeft  = 0x00000020,
    GameInputMouseWheelTiltRight = 0x00000040
};
```

<a id="constantsSection" />

## Constants

| Constant                     | Description                                   |
| ---------------------------- | --------------------------------------------- |
| GameInputMouseNone           | Indicates no mouse buttons are pressed.       |
| GameInputMouseLeftButton     | Indicates the left mouse button.              |
| GameInputMouseRightButton    | Indicates the right mouse button.             |
| GameInputMouseMiddleButton   | Indicates the middle mouse button.            |
| GameInputMouseButton4        | Indicates the fourth mouse button.            |
| GameInputMouseButton5        | Indicates the fifth mouse button.             |
| GameInputMouseWheelTiltLeft  | Indicates the left tilt of the scroll wheel.  |
| GameInputMouseWheelTiltRight | Indicates the right tilt of the scroll wheel. |

<a id="remarksSection" />

## Remarks

These flag values are used in the [GameInputMouseInfo](/reference/input/gameinput/structs/gameinputmouseinfo) structure (to determine which mouse buttons are available) and 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)\
[GameInput](/reference/input/gameinput/gameinput_members)

## Version History

| Version | Changes     |
| ------- | ----------- |
| **v0**  | Introduced. |


## Related topics

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