[][src]Function input_sys::libinput_event_get_touch_event

pub unsafe extern "C" fn libinput_event_get_touch_event(
    event: *mut libinput_event
) -> *mut libinput_event_touch

@ingroup event

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

The inverse of this function is libinput_event_touch_get_base_event().

@return A touch event, or NULL for other events