From ab3b3baaf2b1bc4fea68d99088ce342e6e96df35 Mon Sep 17 00:00:00 2001 From: Anders da Silva Rytter Hansen Date: Fri, 27 Mar 2026 12:52:27 -0300 Subject: [PATCH] add touchpad scaling X11 config file --- etc/X11/xorg.conf.d/90-touchpad-scaling.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 etc/X11/xorg.conf.d/90-touchpad-scaling.conf diff --git a/etc/X11/xorg.conf.d/90-touchpad-scaling.conf b/etc/X11/xorg.conf.d/90-touchpad-scaling.conf new file mode 100644 index 0000000..b8d951a --- /dev/null +++ b/etc/X11/xorg.conf.d/90-touchpad-scaling.conf @@ -0,0 +1,19 @@ +Section "InputClass" + Identifier "Touchpad Scaling" + # Matcher alle touchpads der bruger libinput + MatchIsTouchpad "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" + + # Korrigerer hastigheden til 2x (til 4K / 200% skalering) + Option "TransformationMatrix" "5 0 0 0 5 0 0 0 2" + + # Bruger den ergonomiske 'adaptive' profil (1 0 er Adaptive) + #Option "AccelProfile" "adaptive" + + # Holder grundhastigheden neutral (0.0) + #Option "AccelSpeed" "0" + + # Valgfrit: Slå tap-to-click til, hvis du foretrækker det + # Option "Tapping" "on" +EndSection