Function libinput_device_tablet_pad_get_num_mode_groups
pub unsafe extern "C" fn libinput_device_tablet_pad_get_num_mode_groups(
device: *mut libinput_device,
) -> i32
Expand description
@ingroup tablet_pad_modes
Most devices only provide a single mode group, however devices such as the Wacom Cintiq 22HD provide two mode groups. If multiple mode groups are available, a caller should use libinput_tablet_pad_mode_group_has_button(), libinput_tablet_pad_mode_group_has_ring() and libinput_tablet_pad_mode_group_has_strip() to associate each button, ring and strip with the correct mode group.
@return the number of mode groups available on this device
@since 1.4