OSDN Git Service

Input: alps - change alps_decode_rushmore to do all decoding itself
authorHans de Goede <hdegoede@redhat.com>
Wed, 20 May 2015 21:38:33 +0000 (14:38 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 20 May 2015 21:45:42 +0000 (14:45 -0700)
commitaab9cf7b0349b2f6f3d8a32d3f2414981777ebdc
treedc1cb96d72ddfccfd6bd0c87509bca18998d2efc
parent4e3e4629e4c6ef755ce246e4d848eaad6eec7080
Input: alps - change alps_decode_rushmore to do all decoding itself

Change alps_decode_rushmore to do all decoding itself, rather then relying
on alps_decode_pinnacle and then overriding some fields + or-ing in some
bits.

This is a preparation patch for modifying the decode functions to properly
differentiate between position and bitmap packets.

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