Function libinput_tablet_pad_mode_group_get_index

pub unsafe extern "C" fn libinput_tablet_pad_mode_group_get_index(
    group: *mut libinput_tablet_pad_mode_group,
) -> u32
Expand description

@ingroup tablet_pad_modes

The returned number is the same index as passed to libinput_device_tablet_pad_get_mode_group(). For tablets with only one mode this number is always 0.

@param group A previously obtained mode group @return the numeric index this mode group represents, starting at 0

@since 1.4