]> git.karo-electronics.de Git - mv-sheeva.git/commit
Input: ALPS - add support for touchpads with 4-directional button
authorMaxim Levitsky <maximlevitsky@gmail.com>
Tue, 17 Nov 2009 06:12:22 +0000 (22:12 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 20 Nov 2009 08:52:13 +0000 (00:52 -0800)
commit71bb21b677e89a2b438b804231f92b779beda5d7
tree4bd0e84c5bd2010907022ec11eb3995bfbef57fe
parent315eb996d5505112b22452ccbc7e01fb02eaae81
Input: ALPS - add support for touchpads with 4-directional button

The touchpad on Acer Aspire 5720, 5520 and some other Aspire models
(signature 0x73, 0x02, 0x50) has a button that can be rocked in 4
different directions. Make the driver to generate BTN_0..BTN_3 events
in response. The Synaptics driver by default maps BTN_0 and BTN_1 to
up and down, so there should be no visible changes with the old setup
that generated BTN_FORWARD and BTN_BACK (also mapped to up and down).

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/alps.c