]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
Input: alps - process_bitmap: don't invert the Y-axis on Rushmore
authorHans de Goede <hdegoede@redhat.com>
Sat, 26 Jul 2014 05:37:15 +0000 (22:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 26 Jul 2014 21:03:13 +0000 (14:03 -0700)
commit40e8f53bffe074e6cd409cf484e4b55c114c93d6
tree817d57a759b1d434a9ed1778b90fdfed715bda59
parent20bea68bd1a5c783a23ad9e9de15ffb1b036f3a4
Input: alps - process_bitmap: don't invert the Y-axis on Rushmore

Rushmore models don't have the Y-axis data in the bitmap inverted. Since
we now have 2 different Y orientations, make the Y bitmap data processing
use a forward loop like the X bitmap data processing, unifying the 2,
and invert the data later, except on Rushmore.

So far no-one has noticed this because the synaptics driver only uses the
non mt coordinates (except on clickpads, and there are no alps clickpads
using process_bitmap).

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