summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.cpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2022-10-06 21:26:11 +0100
committerGitHub <noreply@github.com>2022-10-06 21:26:11 +0100
commitc4487534d2230077ee6c61b248602effcbb4df45 (patch)
tree8ccaa3e583180a03629683e8a02f89552006470e /src/config/ConfigManager.cpp
parentb4a8efc1a76d4f4e6485fdf39796cb0eb2cf80fd (diff)
parente4820d1c71add4945293e65be14198fd8c53dc3f (diff)
Merge pull request #801 from fufexan/scrollfactor
Add input:touchpad:scroll_factor
Diffstat (limited to 'src/config/ConfigManager.cpp')
-rw-r--r--src/config/ConfigManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp
index da954cf9..1d8dbd2d 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -146,6 +146,7 @@ void CConfigManager::setDefaultVars() {
configValues["input:touchpad:middle_button_emulation"].intValue = 0;
configValues["input:touchpad:tap-to-click"].intValue = 1;
configValues["input:touchpad:drag_lock"].intValue = 0;
+ configValues["input:touchpad:scroll_factor"].floatValue = 1.f;
configValues["binds:pass_mouse_when_bound"].intValue = 0;
configValues["binds:scroll_event_delay"].intValue = 300;