projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68c2187
)
Input: alps - report 2 touches when we've > 2 fingers
author
Hans de Goede
<hdegoede@redhat.com>
Sat, 26 Jul 2014 05:48:02 +0000
(22:48 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Sat, 26 Jul 2014 21:03:18 +0000
(14:03 -0700)
If we detect more then 2 fingers report 2 touches, rather then only
reporting the upper left corner of the bounding box.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/mouse/alps.c
b/drivers/input/mouse/alps.c
index f16fe7c7d215e65c5d336d9b5341ab2f9e4a6c49..5026600278d3da20375ab7821a80e3880f24b9bf 100644
(file)
--- a/
drivers/input/mouse/alps.c
+++ b/
drivers/input/mouse/alps.c
@@
-454,7
+454,7
@@
static void alps_report_semi_mt_data(struct psmouse *psmouse, int fingers)
fingers = f->pressure > 0 ? 1 : 0;
}
- alps_report_mt_data(psmouse, (fingers <= 2) ? fingers :
1
);
+ alps_report_mt_data(psmouse, (fingers <= 2) ? fingers :
2
);
input_mt_report_finger_count(dev, fingers);