summarylogtreecommitdiffstats
path: root/swap-two-and-three-finger-tap.patch
blob: 2f2e056c5459b2e1834f30b134afadc17fd3ff78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
 	}