Commit 3c00bb96 authored by Laszlo Kajan's avatar Laszlo Kajan Committed by Dmitry Torokhov

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: default avatarLaszlo Kajan <kajla@bioinfo.pl>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 1db3a345
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment