Input: synaptics - allocate 3 slots to keep stability in image sensors
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Sun, 5 Apr 2015 20:45:04 +0000 (13:45 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 6 Apr 2015 16:38:07 +0000 (09:38 -0700)
commit63c4fda3c0bb841b1aad1298fc7fe94058fc79f8
tree6f2df1c77b8ffc246d254d3d3df4e2c4ab835684
parent58fd9af6e1ccabec6bc799b32eea22a82103d5ae
Input: synaptics - allocate 3 slots to keep stability in image sensors

When slowly dropping 1, 2 and then 3 fingers on an image sensor touchpad,
we can see that the first finger gets reassigned a new slot while it did
not move. This is due to the kernel tracking algorithm which can not assign
correctly the 3 touches, being out of slots.

Declaring that we support 3 slots allows to actually forward:
slot 0 -> down, slot 1 -> up, slot 2 -> down

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Henrik Rydberg <rydberg@bitmath.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/synaptics.c