diff options
author | Benjamin Tissoires <benjamin.tissoires@gmail.com> | 2012-11-14 10:59:21 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-11-15 04:13:52 -0500 |
commit | af8036dd749fbf4e732161ff0f3874759b73be40 (patch) | |
tree | 67968eee829e6dc6c3020400e7501e60808591f2 /include/uapi/linux/input.h | |
parent | 20b60e6dee316cba4092cc7aef391fc6f4491028 (diff) |
Input: introduce EV_MSC Timestamp
Some devices provides the actual timestamp (hid_dg_scan_time in win8 ones)
computed by the hardware itself. This value is global to the frame and is
not specific to the multitouch protocol.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/uapi/linux/input.h')
-rw-r--r-- | include/uapi/linux/input.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index 558828590a69..935119c698ac 100644 --- a/include/uapi/linux/input.h +++ b/include/uapi/linux/input.h | |||
@@ -851,6 +851,7 @@ struct input_keymap_entry { | |||
851 | #define MSC_GESTURE 0x02 | 851 | #define MSC_GESTURE 0x02 |
852 | #define MSC_RAW 0x03 | 852 | #define MSC_RAW 0x03 |
853 | #define MSC_SCAN 0x04 | 853 | #define MSC_SCAN 0x04 |
854 | #define MSC_TIMESTAMP 0x05 | ||
854 | #define MSC_MAX 0x07 | 855 | #define MSC_MAX 0x07 |
855 | #define MSC_CNT (MSC_MAX+1) | 856 | #define MSC_CNT (MSC_MAX+1) |
856 | 857 | ||