diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2013-04-07 23:52:22 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-04-08 00:02:32 -0400 |
commit | a0ef6a348a47bdb3896c468608f9cd19c1c26949 (patch) | |
tree | d53c955166783efcfe8a67a5722d68b8f4cf5a40 /include/linux/input | |
parent | 7a246777a694563c490811f9d398318652a3ffb4 (diff) |
Input: MT - handle semi-mt devices in core
Most semi-mt drivers use the slots in a manual way, but really only
need to treat the finger count manually. With this patch, a semi-mt
driver may use the input-mt core for everything else.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/input')
-rw-r--r-- | include/linux/input/mt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/input/mt.h b/include/linux/input/mt.h index 2e86bd0bfba1..1b1dfa80d9ff 100644 --- a/include/linux/input/mt.h +++ b/include/linux/input/mt.h | |||
@@ -19,6 +19,7 @@ | |||
19 | #define INPUT_MT_DIRECT 0x0002 /* direct device, e.g. touchscreen */ | 19 | #define INPUT_MT_DIRECT 0x0002 /* direct device, e.g. touchscreen */ |
20 | #define INPUT_MT_DROP_UNUSED 0x0004 /* drop contacts not seen in frame */ | 20 | #define INPUT_MT_DROP_UNUSED 0x0004 /* drop contacts not seen in frame */ |
21 | #define INPUT_MT_TRACK 0x0008 /* use in-kernel tracking */ | 21 | #define INPUT_MT_TRACK 0x0008 /* use in-kernel tracking */ |
22 | #define INPUT_MT_SEMI_MT 0x0010 /* semi-mt device, finger count handled manually */ | ||
22 | 23 | ||
23 | /** | 24 | /** |
24 | * struct input_mt_slot - represents the state of an input MT slot | 25 | * struct input_mt_slot - represents the state of an input MT slot |