about summary refs log tree commit diff
path: root/etc/X11/xorg.conf.d/thinkpad.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/X11/xorg.conf.d/thinkpad.conf')
-rw-r--r--etc/X11/xorg.conf.d/thinkpad.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/etc/X11/xorg.conf.d/thinkpad.conf b/etc/X11/xorg.conf.d/thinkpad.conf
new file mode 100644
index 0000000..8d3f9ab
--- /dev/null
+++ b/etc/X11/xorg.conf.d/thinkpad.conf
@@ -0,0 +1,14 @@
+Section "InputClass"
+	Identifier "ThinkPad TrackPoint"
+	MatchProduct "TPPS/2 IBM TrackPoint"
+	MatchDevicePath "/dev/input/event*"
+	Driver "libinput"
+	Option "EmulateWheel" "true"
+	Option "EmulateWheelButton" "2"
+	Option "Emulate3Buttons" "false"
+	Option "XAxisMapping" "6 7"
+	Option "YAxisMapping" "4 5"
+	Option "AccelerationNumerator" "2"
+	Option "AccelerationDenominator" "1"
+	Option "AccelerationThreshold" "4"
+EndSection

Consider giving Nix/NixOS a try! <3