From 58e8fbfab3d9ed20b9abaa34fa2afd4c2280bbdb Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 3 Jul 2020 21:36:51 +0200 Subject: tv x220: fix jumpy touchpad --- tv/2configs/hw/x220.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tv') diff --git a/tv/2configs/hw/x220.nix b/tv/2configs/hw/x220.nix index 699b4a8..61b4755 100644 --- a/tv/2configs/hw/x220.nix +++ b/tv/2configs/hw/x220.nix @@ -15,6 +15,15 @@ pkgs.tpacpi-bat ]; } + + # fix jumpy touchpad + # https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X220#X220_Touchpad_cursor_jump/imprecise + { + services.udev.extraHwdb = /* sh */ '' + touchpad:i8042:* + LIBINPUT_MODEL_LENOVO_X220_TOUCHPAD_FW81=1 + ''; + } ]; boot.extraModulePackages = [ -- cgit v1.2.3