Function input_sys::libinput_tablet_pad_mode_group_has_button[][src]

pub unsafe extern "C" fn libinput_tablet_pad_mode_group_has_button(
    group: *mut libinput_tablet_pad_mode_group,
    button: c_uint
) -> c_int
Expand description

@ingroup tablet_pad_modes

Devices without mode switching capabilities return true for every button.

@param group A previously obtained mode group @param button A button index, starting at 0 @return true if the given button index is part of this mode group or false otherwise

@since 1.4