Function input_sys::libinput_event_tablet_pad_get_strip_source[][src]

pub unsafe extern "C" fn libinput_event_tablet_pad_get_strip_source(
    event: *mut libinput_event_tablet_pad
) -> libinput_tablet_pad_strip_axis_source
Expand description

@ingroup event_tablet_pad

Returns the source of the interaction with the strip. If the source is @ref LIBINPUT_TABLET_PAD_STRIP_SOURCE_FINGER, libinput sends a strip position value of -1 to terminate the current interaction.

@note It is an application bug to call this function for events other than @ref LIBINPUT_EVENT_TABLET_PAD_STRIP. For other events, this function returns 0.

@param event The libinput tablet pad event @return The source of the strip interaction

@since 1.3