The IMouseButtons interface.
More...
#include <murl_input_i_mouse_buttons.h>
The IMouseButtons interface.
The base interface of input device classes implementing mouse buttons.
◆ GetNumberOfButtons()
virtual UInt32 Murl::Input::IMouseButtons::GetNumberOfButtons |
( |
| ) |
const |
|
pure virtual |
Get the number of buttons available in the device.
- Returns
- The number of buttons.
◆ IsButtonPressed()
Check if a specified mouse button is pressed.
A valid mouse button identifier is [0 .. GetNumberOfButtons() - 1].
- Parameters
-
button | The mouse button identifier. |
- Returns
- true if the button is pressed.
◆ WasButtonPressed()
Check if a specified mouse button was pressed in the most recent tick.
A valid mouse button identifier is [0 .. GetNumberOfButtons() - 1].
- Parameters
-
button | The mouse button identifier. |
- Returns
- true if the button was pressed in the most recent tick.
◆ WasButtonReleased()
Check if a specified mouse button was released in the most recent tick.
A valid mouse button identifier is [0 .. GetNumberOfButtons() - 1].
- Parameters
-
button | The mouse button identifier. |
- Returns
- true if the button was released in the most recent tick.
The documentation for this interface was generated from the following file:
- murl_input_i_mouse_buttons.h