diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-11-21 23:26:18 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-11-21 23:26:18 +0000 |
| commit | eb86e7967f7d218a7c9412e484473fd578dbf64c (patch) | |
| tree | 037745127a714d15aa0e3703002afea9475c396b /src/config/ConfigManager.cpp | |
| parent | 88874fcfe2f9e57171eb0641b5336ad09116ef55 (diff) | |
add scroll_button libinput opt
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 83ecd3f4..ec87ef20 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -142,6 +142,7 @@ void CConfigManager::setDefaultVars() { configValues["input:float_switch_override_focus"].intValue = 1; configValues["input:left_handed"].intValue = 0; configValues["input:scroll_method"].strValue = STRVAL_EMPTY; + configValues["input:scroll_button"].intValue = 0; configValues["input:touchpad:natural_scroll"].intValue = 0; configValues["input:touchpad:disable_while_typing"].intValue = 1; configValues["input:touchpad:clickfinger_behavior"].intValue = 0; @@ -193,6 +194,7 @@ void CConfigManager::setDeviceDefaultVars(const std::string& dev) { cfgValues["drag_lock"].intValue = 0; cfgValues["left_handed"].intValue = 0; cfgValues["scroll_method"].strValue = STRVAL_EMPTY; + cfgValues["scroll_button"].intValue = 0; cfgValues["touch_transform"].intValue = 0; cfgValues["touch_output"].strValue = STRVAL_EMPTY; cfgValues["enabled"].intValue = 1; // only for mice / touchpads |
