diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2018-10-22 18:49:33 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2018-10-22 18:55:57 +1000 |
commit | 41e47b704377ccd1de2046795d9bd6009bf0a178 (patch) | |
tree | 0a0974b94e50b14faeea3a16260db3cf95a71ae7 /include/linux/input.h | |
parent | 1e605f62823240c749476ab820f5c6baa8ad038a (diff) | |
download | libevdev-41e47b704377ccd1de2046795d9bd6009bf0a178.tar.gz |
include: sync event codes with kernel 4.19
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include/linux/input.h')
-rw-r--r-- | include/linux/input.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index b3044ae..8574807 100644 --- a/include/linux/input.h +++ b/include/linux/input.h @@ -268,10 +268,11 @@ struct input_mask { /* * MT_TOOL types */ -#define MT_TOOL_FINGER 0 -#define MT_TOOL_PEN 1 -#define MT_TOOL_PALM 2 -#define MT_TOOL_MAX 2 +#define MT_TOOL_FINGER 0x00 +#define MT_TOOL_PEN 0x01 +#define MT_TOOL_PALM 0x02 +#define MT_TOOL_DIAL 0x0a +#define MT_TOOL_MAX 0x0f /* * Values describing the status of a force-feedback effect |