Function miral::toolkit::mir_event_get_input_event

Function Documentation

MirInputEvent const *miral::toolkit::mir_event_get_input_event(MirEvent const *event)

Retrieve the MirInputEvent associated with a MirEvent of type mir_event_type_input.

See <mir_toolkit/events/input/input_event.h> for accessors.

Parameters:

event[in] The event

Returns:

The associated MirInputEvent