Function miral::toolkit::mir_input_event_get_touch_event

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