diff options
Diffstat (limited to 'include/linux/input.h')
| -rw-r--r-- | include/linux/input.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index a81671453575..725dcd0f63a4 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
| @@ -116,6 +116,7 @@ struct input_keymap_entry { | |||
| 116 | 116 | ||
| 117 | /** | 117 | /** |
| 118 | * EVIOCGMTSLOTS(len) - get MT slot values | 118 | * EVIOCGMTSLOTS(len) - get MT slot values |
| 119 | * @len: size of the data buffer in bytes | ||
| 119 | * | 120 | * |
| 120 | * The ioctl buffer argument should be binary equivalent to | 121 | * The ioctl buffer argument should be binary equivalent to |
| 121 | * | 122 | * |
| @@ -806,18 +807,20 @@ struct input_keymap_entry { | |||
| 806 | #define ABS_MT_WIDTH_MAJOR 0x32 /* Major axis of approaching ellipse */ | 807 | #define ABS_MT_WIDTH_MAJOR 0x32 /* Major axis of approaching ellipse */ |
| 807 | #define ABS_MT_WIDTH_MINOR 0x33 /* Minor axis (omit if circular) */ | 808 | #define ABS_MT_WIDTH_MINOR 0x33 /* Minor axis (omit if circular) */ |
| 808 | #define ABS_MT_ORIENTATION 0x34 /* Ellipse orientation */ | 809 | #define ABS_MT_ORIENTATION 0x34 /* Ellipse orientation */ |
| 809 | #define ABS_MT_POSITION_X 0x35 /* Center X ellipse position */ | 810 | #define ABS_MT_POSITION_X 0x35 /* Center X touch position */ |
| 810 | #define ABS_MT_POSITION_Y 0x36 /* Center Y ellipse position */ | 811 | #define ABS_MT_POSITION_Y 0x36 /* Center Y touch position */ |
| 811 | #define ABS_MT_TOOL_TYPE 0x37 /* Type of touching device */ | 812 | #define ABS_MT_TOOL_TYPE 0x37 /* Type of touching device */ |
| 812 | #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 */ |
| 813 | #define ABS_MT_TRACKING_ID 0x39 /* Unique ID of initiated contact */ | 814 | #define ABS_MT_TRACKING_ID 0x39 /* Unique ID of initiated contact */ |
| 814 | #define ABS_MT_PRESSURE 0x3a /* Pressure on contact area */ | 815 | #define ABS_MT_PRESSURE 0x3a /* Pressure on contact area */ |
| 815 | #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 */ | ||
| 816 | 819 | ||
| 817 | #ifdef __KERNEL__ | 820 | #ifdef __KERNEL__ |
| 818 | /* Implementation details, userspace should not care about these */ | 821 | /* Implementation details, userspace should not care about these */ |
| 819 | #define ABS_MT_FIRST ABS_MT_TOUCH_MAJOR | 822 | #define ABS_MT_FIRST ABS_MT_TOUCH_MAJOR |
| 820 | #define ABS_MT_LAST ABS_MT_DISTANCE | 823 | #define ABS_MT_LAST ABS_MT_TOOL_Y |
| 821 | #endif | 824 | #endif |
| 822 | 825 | ||
| 823 | #define ABS_MAX 0x3f | 826 | #define ABS_MAX 0x3f |
