Skip to main content

GameInputMouseInfo

Describes the properties of a mouse.

Syntax

Members

supportedButtons
Type: GameInputMouseButtons
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 structure. GameInputDeviceInfo is used by the IGameInputDevice::GetDeviceInfo method. For more information, see GameInput devices.

Requirements

Header: GameInput.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

Overview of GameInput
GameInput

Version History

Appendix: Previous versions

v0

Last modified on August 31, 2026