]> git.baikalelectronics.ru Git - kernel.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)
commit7e4c43f8d46c3a6185e60d7296fcca1d69e9fb50
tree4bd0e84c5bd2010907022ec11eb3995bfbef57fe
parenta924b136b6545089253cc03423110fb6dab55be0
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