Function libinput_event_tablet_pad_get_ring_number
pub unsafe extern "C" fn libinput_event_tablet_pad_get_ring_number(
event: *mut libinput_event_tablet_pad,
) -> u32
Expand description
@ingroup event_tablet_pad
Returns the number of the ring that has changed state, with 0 being the first ring. On tablets with only one ring, this function always returns 0.
@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 index of the ring that changed state
@since 1.3