Input: ALPS - handle touchpoints buttons correctly
authorUlrich Dangel <uli-kernel@spamt.net>
Thu, 11 Jun 2009 07:15:09 +0000 (00:15 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 11 Jun 2009 09:09:45 +0000 (02:09 -0700)
commitd7ed5d883c09c5474f842dcb148515dfaef2a567
treef779fc6625561534cec76fc51dc2312705bd664c
parent0b346838c5862bfe911432956a106d602535d030
Input: ALPS - handle touchpoints buttons correctly

When pressing any button belonging to the touchpoint, the generated
click events don't belong to the touchpoint but to the touchpad.
This patch fixes this behaviour, the events will be sent via the
correct device, so scrolling with touchpoint is possible.

Signed-off-by: Ulrich Dangel <uli@spamt.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/alps.c