From 0c10b8ab2dad9851b00c0e99bb1fde3f01d5478c Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Sun, 10 Dec 2023 18:30:08 +0200 Subject: input: Add scroll_points option for device (#4101) --- src/config/ConfigManager.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/config/ConfigManager.cpp') diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index e5eb4cdb..5eb26efc 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -236,6 +236,7 @@ void CConfigManager::setDefaultVars() { configValues["input:scroll_method"].strValue = STRVAL_EMPTY; configValues["input:scroll_button"].intValue = 0; configValues["input:scroll_button_lock"].intValue = 0; + configValues["input:scroll_points"].strValue = STRVAL_EMPTY; configValues["input:touchpad:natural_scroll"].intValue = 0; configValues["input:touchpad:disable_while_typing"].intValue = 1; configValues["input:touchpad:clickfinger_behavior"].intValue = 0; @@ -307,6 +308,7 @@ void CConfigManager::setDeviceDefaultVars(const std::string& dev) { cfgValues["scroll_method"].strValue = STRVAL_EMPTY; cfgValues["scroll_button"].intValue = 0; cfgValues["scroll_button_lock"].intValue = 0; + cfgValues["scroll_points"].strValue = STRVAL_EMPTY; cfgValues["transform"].intValue = 0; cfgValues["output"].strValue = STRVAL_EMPTY; cfgValues["enabled"].intValue = 1; // only for mice / touchpads -- cgit v1.2.3