From 962c35425636e3f942fd8a624369a7c53748f47e Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 1 Jan 1970 03:00:00 +0300 Subject: chore: init --- etc/X11/xorg.conf.d/intel.conf | 5 +++++ etc/X11/xorg.conf.d/thinkpad.conf | 14 ++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 etc/X11/xorg.conf.d/intel.conf create mode 100644 etc/X11/xorg.conf.d/thinkpad.conf (limited to 'etc/X11') 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 -- cgit 1.4.1