getMouseButtonState

WindowModuleInterface::getMouseButtonState

Returns the state of a mouse button.

Declaration

virtual InputState getMouseButtonState(WindowID windowID, InputMouseButton mouseButton) = 0;

Parameters

Name

Type

Description

windowID

WindowID

The window to check the mouse button state on.

mouseButton

InputMouseButton

The mouse button to check the state of.

Returns

An InputState containing the state of the mouse button.