Input: alps - use standard contact tracking instead of DIY
authorHans de Goede <hdegoede@redhat.com>
Sat, 26 Jul 2014 05:44:42 +0000 (22:44 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 26 Jul 2014 21:03:16 +0000 (14:03 -0700)
commitcdf333efdcad9891e7f9c26e9ece67776af13ae2
treee3ba4c9a943a25cfe702113da98f051f57daa837
parent02d04254a5dfb8de1459805c3433cd0e9e4853d7
Input: alps - use standard contact tracking instead of DIY

When there are 2 fingers on the pad we don't know which one is which, so
use input_mt_assign_slots to make sure the right set of coordinates ends
up in the right slot.

Besides ensuring things end up in the right slot, this also results in a
nice cleanup, since sync_frame also handles non mt position and btn_touch
reporting.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.c