Function miral::toolkit::mir_input_event_get_pointer_event

Function Documentation

MirPointerEvent const *miral::toolkit::mir_input_event_get_pointer_event(MirInputEvent const *event)

Retrieve the MirPointerEvent associated with a given input event.

Parameters:

event[in] The input event

Returns:

The MirPointerEvent or NULL if event type is not mir_input_event_type_pointer