Function libinput_device_config_tap_get_enabled
pub unsafe extern "C" fn libinput_device_config_tap_get_enabled(
device: *mut libinput_device,
) -> u32
Expand description
@ingroup config
Check if tap-to-click is enabled on this device. If the device does not support tapping, this function always returns @ref LIBINPUT_CONFIG_TAP_DISABLED.
@param device The device to configure
@retval LIBINPUT_CONFIG_TAP_ENABLED If tapping is currently enabled @retval LIBINPUT_CONFIG_TAP_DISABLED If tapping is currently disabled
@see libinput_device_config_tap_get_finger_count @see libinput_device_config_tap_set_enabled @see libinput_device_config_tap_get_default_enabled