touchpad: improve scroll speed handling for touchpad (#1781)

This commit is contained in:
end-4
2025-08-07 23:46:39 +07:00
committed by GitHub
7 changed files with 72 additions and 24 deletions
@@ -181,6 +181,14 @@ Singleton {
property list<string> ignoredAppRegexes: []
}
property JsonObject interactions: JsonObject {
property JsonObject scrolling: JsonObject {
property int mouseScrollDeltaThreshold: 120 // delta >= this then it gets detected as mouse scroll rather than touchpad
property int mouseScrollFactor: 120
property int touchpadScrollFactor: 450
}
}
property JsonObject language: JsonObject {
property JsonObject translator: JsonObject {
property string engine: "auto" // Run `trans -list-engines` for available engines. auto should use google