summaryrefslogtreecommitdiffstats
path: root/makefu/1systems/x/x13/input.nix
blob: 68b855d8e483b5efab1e5213f45b001a9de2f15e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{
  # current issues:
  #  1. for pressing insert hold shift+fn+Fin

  # scroll by holding middle mouse
  services.xserver.displayManager.sessionCommands =''
      xinput set-int-prop "ETPS/2 Elantech TrackPoint" "Evdev Wheel Emulation" 8 1
      xinput set-int-prop "ETPS/2 Elantech TrackPoint" "Evdev Wheel Emulation Button" 8 2
      xinput set-prop "ETPS/2 Elantech TrackPoint" "Evdev Wheel Emulation Axes" 6 7 4 5
      # configure timeout of pressing and holding middle button
      # xinput set-int-prop "ETPS/2 Elantech TrackPoint" "Evdev Wheel Emulation Timeout" 8 200
  '';
}