From 45fcfe8435222078c2153f22b3f32d8bafb94633 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 10 Sep 2017 14:38:21 +0200 Subject: x250: Use synaptics driver instead of libinput --- modules/synaptics.nix | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) (limited to 'modules/synaptics.nix') diff --git a/modules/synaptics.nix b/modules/synaptics.nix index 0e9db17..1028db3 100644 --- a/modules/synaptics.nix +++ b/modules/synaptics.nix @@ -1,24 +1,27 @@ { config, pkgs, ... }: -{ services.xserver.synaptics = { - enable = true; +{ services.xserver = { + libinput.enable = false; + synaptics = { + enable = true; - accelFactor = "0.001"; + accelFactor = "0.05"; - minSpeed = "0.4"; - maxSpeed = "2.0"; + minSpeed = "0.2"; + maxSpeed = "1.0"; - palmDetect = true; - palmMinWidth = 5; - palmMinZ = 20; + palmDetect = true; + palmMinWidth = 5; + palmMinZ = 20; - twoFingerScroll = true; - vertTwoFingerScroll = true; - horizTwoFingerScroll = true; - additionalOptions = '' - Option "RBCornerButton" "3" - Option "VertScrollDelta" "-111" - Option "HorizScrollDelta" "-111" - ''; + twoFingerScroll = true; + vertTwoFingerScroll = true; + horizTwoFingerScroll = true; + additionalOptions = '' + Option "RBCornerButton" "3" + Option "VertScrollDelta" "-111" + Option "HorizScrollDelta" "-111" + ''; + }; }; } -- cgit 1.4.1