Skip to content

Commit

Permalink
Allow disabling tap-to-click
Browse files Browse the repository at this point in the history
  • Loading branch information
sliedes committed Aug 12, 2024
1 parent 3fa6db1 commit 0bc2b41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/managers/input/InputManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {

Expand Down

0 comments on commit 0bc2b41

Please sign in to comment.