diff options
author | Laszlo Kajan <kajla@bioinfo.pl> | 2008-03-18 00:39:55 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-03-18 00:39:55 -0400 |
commit | 3c00bb96497a9c1251359a1faf68dddbb8d50a23 (patch) | |
tree | 31a926e9dbd9761e3f69a1cd93b9581a65a0d254 /drivers/input | |
parent | 1db3a3453f6915d6af322e3a1b25f7ab2c9d9a2b (diff) | |
download | blackbird-op-linux-3c00bb96497a9c1251359a1faf68dddbb8d50a23.tar.gz blackbird-op-linux-3c00bb96497a9c1251359a1faf68dddbb8d50a23.zip |
Input: ALPS - fix forward/back buttons reversed on Acer 5520-5290
ALPS_FW_BK_1 protocol flavor seems to have forward and backward
keys reversed.
Signed-off-by: Laszlo Kajan <kajla@bioinfo.pl>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/mouse/alps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c index 6e8da5eecb89..385e32bcf6a6 100644 --- a/drivers/input/mouse/alps.c +++ b/drivers/input/mouse/alps.c @@ -116,8 +116,8 @@ static void alps_process_packet(struct psmouse *psmouse) } if (priv->i->flags & ALPS_FW_BK_1) { - back = packet[2] & 4; - forward = packet[0] & 0x10; + back = packet[0] & 0x10; + forward = packet[2] & 4; } if (priv->i->flags & ALPS_FW_BK_2) { |