Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Describes the properties of a mouse.
Syntax
struct GameInputMouseInfo
{
GameInputMouseButtons supportedButtons;
uint32_t sampleRate;
bool hasWheelX;
bool hasWheelY;
};
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