From 8b302ea8866fb6f0703f34540f31cf5871440e53 Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 9 Aug 2015 13:17:37 +0000 Subject: makefu: x200 - add middle mouse scroll --- makefu/2configs/tp-x200.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'makefu/2configs') diff --git a/makefu/2configs/tp-x200.nix b/makefu/2configs/tp-x200.nix index 64d3f85a..25a2537e 100644 --- a/makefu/2configs/tp-x200.nix +++ b/makefu/2configs/tp-x200.nix @@ -20,4 +20,9 @@ with lib; hardware.trackpoint.enable = true; hardware.trackpoint.sensitivity = 255; hardware.trackpoint.speed = 255; + services.xserver.displayManager.sessionCommands = '' + xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1 + xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2 + xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 200 + ''; } -- cgit v1.2.3