Function mir_input_event_get_device_id

Function Documentation

MirInputDeviceId mir_input_event_get_device_id(MirInputEvent const *event)

Retrieves the device id responsible for generating an input event.

Parameters:

event[in] The input event

Returns:

The id of the generating device