projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1db3a34
)
Input: ALPS - fix forward/back buttons reversed on Acer 5520-5290
author
Laszlo Kajan
<kajla@bioinfo.pl>
Tue, 18 Mar 2008 04:39:55 +0000
(
00:39
-0400)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Tue, 18 Mar 2008 04:39:55 +0000
(
00:39
-0400)
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>
drivers/input/mouse/alps.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/mouse/alps.c
b/drivers/input/mouse/alps.c
index 6e8da5eecb89fbd1ca553cdea65d080b657d0fa5..385e32bcf6a6e0ed7328f8c7ffd39badb7e4d45e 100644
(file)
--- 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) {