Allow disabling tap-to-click

This commit is contained in:
Sami Liedes 2024-08-12 19:44:13 +02:00
parent 3fa6db1e7a
commit 0bc2b415a8

View File

@ -1114,6 +1114,8 @@ void CInputManager::setPointerConfigs() {
if (libinput_device_config_tap_get_finger_count(LIBINPUTDEV)) // this is for tapping (like on a laptop)
if (g_pConfigManager->getDeviceInt(devname, "tap-to-click", "input:touchpad:tap-to-click") == 1)
libinput_device_config_tap_set_enabled(LIBINPUTDEV, LIBINPUT_CONFIG_TAP_ENABLED);
else
libinput_device_config_tap_set_enabled(LIBINPUTDEV, LIBINPUT_CONFIG_TAP_DISABLED);
if (libinput_device_config_scroll_has_natural_scroll(LIBINPUTDEV)) {