Function input_sys::libinput_event_tablet_pad_get_strip_number
[−]
[src]
pub unsafe extern fn libinput_event_tablet_pad_get_strip_number(event: *mut libinput_event_tablet_pad)
-> c_uint
@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