summarylogtreecommitdiffstats
path: root/swap-two-and-three-finger-tap.patch
diff options
context:
space:
mode:
Diffstat (limited to 'swap-two-and-three-finger-tap.patch')
-rw-r--r--swap-two-and-three-finger-tap.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/swap-two-and-three-finger-tap.patch b/swap-two-and-three-finger-tap.patch
new file mode 100644
index 000000000000..2f2e056c5459
--- /dev/null
+++ b/swap-two-and-three-finger-tap.patch
@@ -0,0 +1,14 @@
+diff -aur libinput-1.4.0.orig/src/evdev-mt-touchpad-tap.c libinput-1.4.0/src/evdev-mt-touchpad-tap.c
+--- libinput-1.4.0.orig/src/evdev-mt-touchpad-tap.c 2016-07-21 09:44:45.356904331 -0400
++++ libinput-1.4.0/src/evdev-mt-touchpad-tap.c 2016-07-21 09:46:08.803983720 -0400
+@@ -108,8 +108,8 @@
+
+ switch (nfingers) {
+ case 1: button = BTN_LEFT; break;
+- case 2: button = BTN_RIGHT; break;
+- case 3: button = BTN_MIDDLE; break;
++ case 2: button = BTN_MIDDLE; break;
++ case 3: button = BTN_RIGHT; break;
+ default:
+ return;
+ }