aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-01-28 22:28:27 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-01-28 22:32:45 -0800
commitcb6ecf6f7afece066265e243657b0ac28150a7b2 (patch)
tree063906ad19c8bd9d1796312723f8e77b9b7ad5e7 /include
parent93fb84b50fe03aabca8d9dea5d3ba521a07e8571 (diff)
downloadlinux-linaro-android-cb6ecf6f7afece066265e243657b0ac28150a7b2.tar.gz
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 'include')
-rw-r--r--include/linux/input.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index 7be8a6537b5..735ceaf1bc2 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -660,6 +660,7 @@ struct input_absinfo {
#define ABS_MT_TOOL_TYPE 0x37 /* Type of touching device */
#define ABS_MT_BLOB_ID 0x38 /* Group a set of packets as a blob */
#define ABS_MT_TRACKING_ID 0x39 /* Unique ID of initiated contact */
+#define ABS_MT_PRESSURE 0x3a /* Pressure on contact area */
#define ABS_MAX 0x3f
#define ABS_CNT (ABS_MAX+1)