Function input_sys::libinput_device_tablet_pad_get_num_mode_groups [] [src]

pub unsafe extern fn libinput_device_tablet_pad_get_num_mode_groups(device: *mut libinput_device)
                                                                    -> c_int

@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