GameInputMouseInfo
Describes the properties of a mouse.
Syntax
typedef struct GameInputMouseInfo {
GameInputMouseButtons supportedButtons;
uint32_t sampleRate;
uint32_t sensorDpi;
bool hasWheelX;
bool hasWheelY;
} GameInputMouseInfo
Members
supportedButtons
Type: GameInputMouseButtons
Buttons supported by the mouse.
sampleRate
Type: uint32_t
Number of times per second that mouse movement is sampled.
sensorDpi
Type: uint32_t
Granularity of mouse movement.
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