diff options
| -rw-r--r-- | Documentation/input/multi-touch-protocol.txt | 9 | ||||
| -rw-r--r-- | include/uapi/linux/input.h | 3 |
2 files changed, 8 insertions, 4 deletions
diff --git a/Documentation/input/multi-touch-protocol.txt b/Documentation/input/multi-touch-protocol.txt index 7b4f59c09ee2..b85d000faeb4 100644 --- a/Documentation/input/multi-touch-protocol.txt +++ b/Documentation/input/multi-touch-protocol.txt | |||
| @@ -312,9 +312,12 @@ ABS_MT_TOOL_TYPE | |||
| 312 | 312 | ||
| 313 | The type of approaching tool. A lot of kernel drivers cannot distinguish | 313 | The type of approaching tool. A lot of kernel drivers cannot distinguish |
| 314 | between different tool types, such as a finger or a pen. In such cases, the | 314 | between different tool types, such as a finger or a pen. In such cases, the |
| 315 | event should be omitted. The protocol currently supports MT_TOOL_FINGER and | 315 | event should be omitted. The protocol currently supports MT_TOOL_FINGER, |
| 316 | MT_TOOL_PEN [2]. For type B devices, this event is handled by input core; | 316 | MT_TOOL_PEN, and MT_TOOL_PALM [2]. For type B devices, this event is handled |
| 317 | drivers should instead use input_mt_report_slot_state(). | 317 | by input core; drivers should instead use input_mt_report_slot_state(). |
| 318 | A contact's ABS_MT_TOOL_TYPE may change over time while still touching the | ||
| 319 | device, because the firmware may not be able to determine which tool is being | ||
| 320 | used when it first appears. | ||
| 318 | 321 | ||
| 319 | ABS_MT_BLOB_ID | 322 | ABS_MT_BLOB_ID |
| 320 | 323 | ||
diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index a1d7e931ab72..2320b0ce7579 100644 --- a/include/uapi/linux/input.h +++ b/include/uapi/linux/input.h | |||
| @@ -972,7 +972,8 @@ struct input_keymap_entry { | |||
| 972 | */ | 972 | */ |
| 973 | #define MT_TOOL_FINGER 0 | 973 | #define MT_TOOL_FINGER 0 |
| 974 | #define MT_TOOL_PEN 1 | 974 | #define MT_TOOL_PEN 1 |
| 975 | #define MT_TOOL_MAX 1 | 975 | #define MT_TOOL_PALM 2 |
| 976 | #define MT_TOOL_MAX 2 | ||
| 976 | 977 | ||
| 977 | /* | 978 | /* |
| 978 | * Values describing the status of a force-feedback effect | 979 | * Values describing the status of a force-feedback effect |
