Function mir_event_get_input_device_state_event

Function Documentation

MirInputDeviceStateEvent const *mir_event_get_input_device_state_event(MirEvent const *event)

Retrieve the MirInputDeviceStateEvent associated with a MirEvent of type mir_event_type_input_device_state.

The event signifies that the client has not received the most recent input events, and thus receives a state update for all attached devices.

Parameters:

event[in] The event

Returns:

The associated MirInputConfigurationEvent