input: Add scroll_points option for device (#4101)
This commit is contained in:
parent
9f5b9053c6
commit
0c10b8ab2d
2 changed files with 26 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue