mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-06 14:48:06 +00:00
Input: alps - report 2 touches when we've > 2 fingers
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>
This commit is contained in:
parent
68c2187017
commit
99d9996c5c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue