about summary refs log tree commit diff
path: root/etc/X11/xorg.conf.d
diff options
context:
space:
mode:
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