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

# GameInputMouseInfo

> GameInputMouseInfo

Describes the properties of a mouse.

## Syntax

```cpp theme={null}
struct GameInputMouseInfo
{
    GameInputMouseButtons supportedButtons;
    uint32_t              sampleRate;
    bool                  hasWheelX;
    bool                  hasWheelY;
};
```

### Members

*supportedButtons*\

Type: [GameInputMouseButtons](https://docs.xbox.com/reference/input/gameinput/enums/gameinputmousebuttons.md)

Buttons supported by the mouse.

*sampleRate*\

Type: uint32\_t

Number of times per second that mouse movement is sampled.

*hasWheelX*\

Type: bool

Indicates whether the mouse has a scroll wheel for the x-axis.

*hasWheelY*\

Type: bool

Indicates whether the mouse has a scroll wheel for the y-axis.

## Remarks

This structure is used in the [GameInputDeviceInfo](https://docs.xbox.com/reference/input/gameinput/structs/gameinputdeviceinfo.md) structure. `GameInputDeviceInfo` is used by the [IGameInputDevice::GetDeviceInfo](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getdeviceinfo.md) method.

For more information, see [GameInput devices](https://docs.xbox.com/build/core-features/common/input/overviews/input-devices.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 |
| - | - |
| **v1** | **Removed** `sensorDpi` (uint32\_t). |
| **v0** | Introduced. |

## Appendix: Previous versions

### v0

```cpp theme={null}
struct GameInputMouseInfo
{
    GameInputMouseButtons supportedButtons;
    uint32_t              sampleRate;
    uint32_t              sensorDpi;
    bool                  hasWheelX;
    bool                  hasWheelY;
};
```


## Related topics

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