summaryrefslogtreecommitdiffstats
path: root/drivers/input/input.c
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2009-05-23 18:51:20 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-05-23 18:53:18 +0200
commitdf391e0eda1e678add56a8e34226edf05d89af6a (patch)
tree87d375cecc32a0784d42adb6b4e8b04fbf70dadb /drivers/input/input.c
parentInput: tsc2007 - fix locking in hrtimer handler (diff)
downloadlinux-df391e0eda1e678add56a8e34226edf05d89af6a.tar.xz
linux-df391e0eda1e678add56a8e34226edf05d89af6a.zip
Input: multitouch - add tracking ID to the protocol
There are a few multi-touch devices that support finger tracking well in hardware, Stantum being the prime example. By exposing the tracking ID in the MT protocol, evdev bandwidth and cpu usage in user space can be reduced. This patch adds the ABS_MT_TRACKING_ID to the MT protocol. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> Tested-by: Stéphane Chatty <chatty@enac.fr> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/input.c')
-rw-r--r--drivers/input/input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c
index e54e002665b0..5d445f48789b 100644
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -42,6 +42,7 @@ static unsigned int input_abs_bypass_init_data[] __initdata = {
ABS_MT_POSITION_Y,
ABS_MT_TOOL_TYPE,
ABS_MT_BLOB_ID,
+ ABS_MT_TRACKING_ID,
0
};
static unsigned long input_abs_bypass[BITS_TO_LONGS(ABS_CNT)];