Function miral::toolkit::mir_pointer_event_button_state¶
Defined in File toolkit_event.h
Function Documentation¶
-
bool miral::toolkit::mir_pointer_event_button_state(MirPointerEvent const *event, MirPointerButton button)¶
Retrieve the state of a given pointer button when the action occurred.
- Parameters:
event – [in] The pointer event
button – [in] The button to check
- Returns:
Whether the given button is depressed