diff options
Diffstat (limited to 'modules/hardware/trackball.nix')
-rw-r--r-- | modules/hardware/trackball.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/hardware/trackball.nix b/modules/hardware/trackball.nix new file mode 100644 index 0000000..9aa5abc --- /dev/null +++ b/modules/hardware/trackball.nix @@ -0,0 +1,13 @@ +{ config, pkgs, ... }: + +{ services.xserver.config = '' + Section "InputClass" + Identifier "Trackball (No Acceleration)" + MatchIsPointer "yes" + MatchIsTouchpad "no" + MatchProduct "Trackball" + Option "AccelerationProfile" "-1" + Option "AccelerationScheme" "none" + EndSection + ''; +} |