Function libinput_event_tablet_pad_get_ring_source
pub unsafe extern "C" fn libinput_event_tablet_pad_get_ring_source(
event: *mut libinput_event_tablet_pad,
) -> u32
Expand description
@ingroup event_tablet_pad
Returns the source of the interaction with the ring. If the source is @ref LIBINPUT_TABLET_PAD_RING_SOURCE_FINGER, libinput sends a ring 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_RING. For other events, this function returns 0.
@param event The libinput tablet pad event @return The source of the ring interaction
@since 1.3