Function input_sys::libinput_event_get_device_notify_event[][src]

pub unsafe extern "C" fn libinput_event_get_device_notify_event(
    event: *mut libinput_event
) -> *mut libinput_event_device_notify
Expand description

@ingroup event

Return the device event that is this input event. If the event type does not match the device event types, this function returns NULL.

The inverse of this function is libinput_event_device_notify_get_base_event().

@return A device event, or NULL for other events