Function libinput_device_config_tap_set_drag_enabled
pub unsafe extern "C" fn libinput_device_config_tap_set_drag_enabled(
device: *mut libinput_device,
enable: u32,
) -> u32
Expand description
@ingroup config
Enable or disable tap-and-drag on this device. When enabled, a tap immediately followed by a finger down results in a button down event, subsequent finger motion thus triggers a drag. The button is released on finger up. See the libinput documentation for more details.
@param device The device to configure @param enable @ref LIBINPUT_CONFIG_DRAG_ENABLED to enable, @ref LIBINPUT_CONFIG_DRAG_DISABLED to disable tap-and-drag
@see libinput_device_config_tap_drag_get_enabled @see libinput_device_config_tap_drag_get_default_enabled
@since 1.2