summaryrefslogtreecommitdiffstats
path: root/tv/2configs/hw
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-07-03 21:36:51 +0200
committertv <tv@krebsco.de>2020-07-03 21:36:51 +0200
commit495871f182ff27dbd6f00b053f729f7a40c570c9 (patch)
treebcc039f4da293881ca90af37186633c83cbe576e /tv/2configs/hw
parent99c04622ff3a9f79fc09fb0fbe2faa0dfe93dd78 (diff)
tv x220: fix jumpy touchpad
Diffstat (limited to 'tv/2configs/hw')
-rw-r--r--tv/2configs/hw/x220.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/tv/2configs/hw/x220.nix b/tv/2configs/hw/x220.nix
index 699b4a87e..61b475537 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 = [