summaryrefslogtreecommitdiffstats
path: root/drivers/input/input.c
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-01-29 07:28:27 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-01-29 07:32:45 +0100
commitcb6ecf6f7afece066265e243657b0ac28150a7b2 (patch)
tree063906ad19c8bd9d1796312723f8e77b9b7ad5e7 /drivers/input/input.c
parentInput: winbond-cir - remove dmesg spam (diff)
downloadlinux-cb6ecf6f7afece066265e243657b0ac28150a7b2.tar.xz
linux-cb6ecf6f7afece066265e243657b0ac28150a7b2.zip
Input: add the ABS_MT_PRESSURE event
For pressure-based multi-touch devices, a direct way to send sensor intensity data per finger is needed. This patch adds the ABS_MT_PRESSURE event to the MT protocol. Requested-by: Yoonyoung Shim <jy0922.shim@samsung.com> Requested-by: Mika Kuoppala <mika.kuoppala@nokia.com> Requested-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Henrik Rydberg <rydberg@euromail.se> 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 30b503b8d67b..86cb2d2196ff 100644
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -46,6 +46,7 @@ static unsigned int input_abs_bypass_init_data[] __initdata = {
ABS_MT_TOOL_TYPE,
ABS_MT_BLOB_ID,
ABS_MT_TRACKING_ID,
+ ABS_MT_PRESSURE,
0
};
static unsigned long input_abs_bypass[BITS_TO_LONGS(ABS_CNT)];