[][src]Function input_sys::libinput_device_touch_get_touch_count

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

@ingroup device

Check how many touches a @ref LIBINPUT_DEVICE_CAP_TOUCH device supports simultaneously.

@param device A current input device

@return The number of simultaneous touches or 0 if unknown, -1 on error.

@since 1.11