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