Function input_sys::libinput_event_get_tablet_tool_event[][src]

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

@ingroup event

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

The inverse of this function is libinput_event_tablet_tool_get_base_event().

@return A tablet tool event, or NULL for other events

@since 1.2