restore maccel declarative parameters

This commit is contained in:
2026-03-25 13:50:41 +00:00
parent 4551e5134e
commit 1e226ddeb6
2 changed files with 14 additions and 4 deletions
Generated
+4 -4
View File
@@ -87,11 +87,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1774443741, "lastModified": 1774454479,
"narHash": "sha256-93//BYjZ+5Hs8sqSHDa3TkJIsCgOZ/MayzQA+1y7VCE=", "narHash": "sha256-yiT9GLVQXvDVi8tBaY7OJ868fD927U3kHG4m5V7z1aE=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "af9f3e3567db16a885f716fa0b09b6c1bbb527af", "rev": "8521f1254860bf66cc2c5447682708f1ac1d4a94",
"revCount": 7, "revCount": 9,
"type": "git", "type": "git",
"url": "https://gitea.unrail.xyz/thomas/gotta-scroll-fast" "url": "https://gitea.unrail.xyz/thomas/gotta-scroll-fast"
}, },
+10
View File
@@ -103,6 +103,16 @@ in {
hardware.maccel = { hardware.maccel = {
enable = true; enable = true;
enableCli = true; enableCli = true;
parameters = {
mode = "linear";
sensMultiplier = 1.0;
yxRatio = 1.0;
inputDpi = 1000.0;
angleRotation = 0.0;
acceleration = 0.3;
offset = 2.0;
outputCap = 2.0;
};
}; };
hardware.gsf = { hardware.gsf = {