about summary refs log tree commit diff
path: root/etc/X11/xorg.conf.d
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
chore: init HEAD master
Diffstat (limited to 'etc/X11/xorg.conf.d')
-rw-r--r--etc/X11/xorg.conf.d/intel.conf5
-rw-r--r--etc/X11/xorg.conf.d/thinkpad.conf14
2 files changed, 19 insertions, 0 deletions
diff --git a/etc/X11/xorg.conf.d/intel.conf b/etc/X11/xorg.conf.d/intel.conf
new file mode 100644
index 0000000..9a749d4
--- /dev/null
+++ b/etc/X11/xorg.conf.d/intel.conf
@@ -0,0 +1,5 @@
+Section "Device"
+	Identifier "intel"
+	Driver "intel"
+	Option "AccelMethod" "sna"
+EndSection
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