Input: alps - process_bitmap: round down when spreading adjescent fingers over 2...
authorHans de Goede <hdegoede@redhat.com>
Sat, 26 Jul 2014 05:42:53 +0000 (22:42 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 26 Jul 2014 21:03:15 +0000 (14:03 -0700)
commit28835f4540564e6319028c9c1aeadf16604bed9c
treec9bea32a138b7e88b4313914cf73c57a41cb0069
parent105affbfd588d5aec4171234051f7d589f7e62c1
Input: alps - process_bitmap: round down when spreading adjescent fingers over 2 points

This fixes 2 fingers at the same height or width on the touchpad getting
reported at different y / x coordinates.

Note num_bits is always at least 1.

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