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

# GameInputMouseButtons

> GameInputMouseButtons

Enumerates mouse buttons.

## Syntax

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

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

## Remarks

These flag values are used in the [GameInputMouseInfo](https://docs.xbox.com/reference/input/gameinput/structs/gameinputmouseinfo.md) structure (to determine which mouse buttons are available) and in the [GameInputMouseState](https://docs.xbox.com/reference/input/gameinput/structs/gameinputmousestate.md) structure (to get device readings).

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

## Version History

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


## Related topics

- [GameInputMouseInfo](https://docs.xbox.com/reference/input/gameinput/structs/gameinputmouseinfo.md)
- [GameInputMouseState](https://docs.xbox.com/reference/input/gameinput/structs/gameinputmousestate.md)
- [GameInput API members](https://docs.xbox.com/reference/input/gameinput/gameinput_members.md)
- [GameInputMousePositions](https://docs.xbox.com/reference/input/gameinput/enums/gameInputmousepositions.md)
- [GameInput keyboard and mouse](https://docs.xbox.com/build/core-features/common/input/advanced/input-keyboard-mouse.md)
