summary refs log tree commit diff stats
path: root/modules/hardware/trackball.nix
blob: 9aa5abc002111f19c578d04e10d7155926a280e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
  '';
}