Function input_sys::libinput_device_tablet_pad_get_num_rings[][src]

pub unsafe extern "C" fn libinput_device_tablet_pad_get_num_rings(
    device: *mut libinput_device
) -> c_int
Expand description

@ingroup device

Return the number of rings a device with the @ref LIBINPUT_DEVICE_CAP_TABLET_PAD capability provides.

@param device A current input device

@return The number of rings or 0 if the device has no rings.

@see libinput_event_tablet_pad_get_ring_number

@since 1.3