diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-07-07 19:18:33 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-07-07 19:18:33 -0400 |
commit | f053ea8d841a3a4620fff4a1b2ab1da9d7c53939 (patch) | |
tree | f8b6e0fc8c5c07d40db8d3aa3645092ab3d57ec6 /include/linux/input.h | |
parent | 3c3416abbe3328c2fae054379894614b0c894069 (diff) | |
parent | c45361a1287a74d327d72d4d2b96f4ac170653d9 (diff) |
Pull input changes from Henrik Rydberg, including large update to
atmel_mxt_ts driver by Daniel and MT protocol addition for win8 devices.
Conflicts:
drivers/input/touchscreen/atmel_mxt_ts.c
Diffstat (limited to 'include/linux/input.h')
-rw-r--r-- | include/linux/input.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index 2740d080ec6b..725dcd0f63a4 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
@@ -807,18 +807,20 @@ struct input_keymap_entry { | |||
807 | #define ABS_MT_WIDTH_MAJOR 0x32 /* Major axis of approaching ellipse */ | 807 | #define ABS_MT_WIDTH_MAJOR 0x32 /* Major axis of approaching ellipse */ |
808 | #define ABS_MT_WIDTH_MINOR 0x33 /* Minor axis (omit if circular) */ | 808 | #define ABS_MT_WIDTH_MINOR 0x33 /* Minor axis (omit if circular) */ |
809 | #define ABS_MT_ORIENTATION 0x34 /* Ellipse orientation */ | 809 | #define ABS_MT_ORIENTATION 0x34 /* Ellipse orientation */ |
810 | #define ABS_MT_POSITION_X 0x35 /* Center X ellipse position */ | 810 | #define ABS_MT_POSITION_X 0x35 /* Center X touch position */ |
811 | #define ABS_MT_POSITION_Y 0x36 /* Center Y ellipse position */ | 811 | #define ABS_MT_POSITION_Y 0x36 /* Center Y touch position */ |
812 | #define ABS_MT_TOOL_TYPE 0x37 /* Type of touching device */ | 812 | #define ABS_MT_TOOL_TYPE 0x37 /* Type of touching device */ |
813 | #define ABS_MT_BLOB_ID 0x38 /* Group a set of packets as a blob */ | 813 | #define ABS_MT_BLOB_ID 0x38 /* Group a set of packets as a blob */ |
814 | #define ABS_MT_TRACKING_ID 0x39 /* Unique ID of initiated contact */ | 814 | #define ABS_MT_TRACKING_ID 0x39 /* Unique ID of initiated contact */ |
815 | #define ABS_MT_PRESSURE 0x3a /* Pressure on contact area */ | 815 | #define ABS_MT_PRESSURE 0x3a /* Pressure on contact area */ |
816 | #define ABS_MT_DISTANCE 0x3b /* Contact hover distance */ | 816 | #define ABS_MT_DISTANCE 0x3b /* Contact hover distance */ |
817 | #define ABS_MT_TOOL_X 0x3c /* Center X tool position */ | ||
818 | #define ABS_MT_TOOL_Y 0x3d /* Center Y tool position */ | ||
817 | 819 | ||
818 | #ifdef __KERNEL__ | 820 | #ifdef __KERNEL__ |
819 | /* Implementation details, userspace should not care about these */ | 821 | /* Implementation details, userspace should not care about these */ |
820 | #define ABS_MT_FIRST ABS_MT_TOUCH_MAJOR | 822 | #define ABS_MT_FIRST ABS_MT_TOUCH_MAJOR |
821 | #define ABS_MT_LAST ABS_MT_DISTANCE | 823 | #define ABS_MT_LAST ABS_MT_TOOL_Y |
822 | #endif | 824 | #endif |
823 | 825 | ||
824 | #define ABS_MAX 0x3f | 826 | #define ABS_MAX 0x3f |