diff options
| author | Mihai Fufezan <fufexan@protonmail.com> | 2023-12-10 18:30:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-10 16:30:08 +0000 |
| commit | 0c10b8ab2dad9851b00c0e99bb1fde3f01d5478c (patch) | |
| tree | b9fe4b9bb8c63de79d77b3b2de6a90eb7427abb4 /src/config/ConfigManager.cpp | |
| parent | 9f5b9053c6fb7942a0ff27dc61fc6874e4354888 (diff) | |
input: Add scroll_points option for device (#4101)
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
