summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
diff options
context:
space:
mode:
authormakefu <makefu@tsp>2015-08-09 13:17:37 +0000
committermakefu <makefu@tsp>2015-08-09 13:17:37 +0000
commit8b302ea8866fb6f0703f34540f31cf5871440e53 (patch)
tree808c9bbaf2aa6d772aada0879192e585971beb5a /makefu/2configs
parent23da0b49331d5eba92c776ebcd1864b04e3ff8cf (diff)
makefu: x200 - add middle mouse scroll
Diffstat (limited to 'makefu/2configs')
-rw-r--r--makefu/2configs/tp-x200.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/makefu/2configs/tp-x200.nix b/makefu/2configs/tp-x200.nix
index 64d3f85a1..25a2537e8 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
+ '';
}