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

# GameInputMouseInfo

> GameInputMouseInfo

# GameInputMouseInfo

Describes the properties of a mouse.

<a id="syntaxSection" />

## Syntax

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

<a id="membersSection" />

### Members

*supportedButtons*<br />
Type: [GameInputMouseButtons](/reference/input/gameinput/enums/gameinputmousebuttons)

Buttons supported by the mouse.

*sampleRate*<br />
Type: uint32\_t

Number of times per second that mouse movement is sampled.

*hasWheelX*<br />
Type: bool

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

*hasWheelY*<br />
Type: bool

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

<a id="remarksSection" />

## Remarks

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

For more information, see [GameInput devices](/build/core-features/common/input/overviews/input-devices).

<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                              |
| ------- | ------------------------------------ |
| **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](/reference/input/gameinput/enums/gameinputmousebuttons.md)
- [GameInput](/reference/input/gameinput/gameinput_members.md)
- [GameInputDeviceInfo](/reference/input/gameinput/structs/gameinputdeviceinfo.md)
- [GameInputMousePositions](/reference/input/gameinput/enums/gameInputmousepositions.md)
- [GameInputMouseState](/reference/input/gameinput/structs/gameinputmousestate.md)
