diff options
| author | Sixels <sixels@protonmail.com> | 2022-04-19 13:51:53 -0300 |
|---|---|---|
| committer | Sixels <sixels@protonmail.com> | 2022-04-19 13:52:31 -0300 |
| commit | 6719574f0cbe643bc213630ccc0d6ff3dc6faf59 (patch) | |
| tree | 39af94a15ffd54b71584417ed470931b39cb1137 /src | |
| parent | c0645c393b317e419c668e8c19c754488415f85b (diff) | |
Add input options to config
Diffstat (limited to 'src')
| -rw-r--r-- | src/config/ConfigManager.cpp | 3 | ||||
| -rw-r--r-- | src/config/defaultConfig.hpp | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index cf2ad8fe..4d8affec 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -55,6 +55,9 @@ void CConfigManager::setDefaultVars() { configValues["input:kb_options"].strValue = ""; configValues["input:kb_rules"].strValue = ""; configValues["input:kb_model"].strValue = ""; + configValues["input:repeat_rate"].intValue = 25; + configValues["input:repeat_delay"].intValue = 600; + configValues["input:touchpad:disable_while_typing"].intValue = 1; configValues["input:follow_mouse"].intValue = 1; diff --git a/src/config/defaultConfig.hpp b/src/config/defaultConfig.hpp index 550d0601..98e32d33 100644 --- a/src/config/defaultConfig.hpp +++ b/src/config/defaultConfig.hpp @@ -19,6 +19,12 @@ input { kb_model= kb_options= kb_rules= + repeat_rate= + repeat_delay= + + touchpad { + disable_while_typing= + } } general { |
