Function miral::toolkit::mir_input_event_get_touch_event¶
Defined in File toolkit_event.h
Function Documentation¶
-
MirTouchEvent const *miral::toolkit::mir_input_event_get_touch_event(MirInputEvent const *event)¶
Retrieve the MirTouchEvent associated with a given input event.
- Parameters:
event – [in] The input event
- Returns:
The MirTouchEvent or NULL if event type is not mir_input_event_type_touch