about summary refs log tree commit diff
path: root/etc/X11/xorg.conf.d/thinkpad.conf
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>1970-01-01 03:00:00 +0300
committerAzat Bahawi <azat@bahawi.net>2022-09-20 11:52:07 +0300
commit962c35425636e3f942fd8a624369a7c53748f47e (patch)
treec69e76f6c4cdd7f9f66d02a02ee683fe4d5426e7 /etc/X11/xorg.conf.d/thinkpad.conf
chore: init HEAD master
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