From: Peter Hutterer Date: Mon, 13 Apr 2015 00:06:03 +0000 (+1000) Subject: include: update to 4.0 header X-Git-Tag: libevdev-1.4.2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01356bc5f2c0a988c199cdcc63d8b3555b315973;p=platform%2Fupstream%2Flibevdev.git include: update to 4.0 header Signed-off-by: Peter Hutterer --- diff --git a/include/linux/input.h b/include/linux/input.h index 999f3a7..722eee6 100644 --- a/include/linux/input.h +++ b/include/linux/input.h @@ -164,6 +164,7 @@ struct input_keymap_entry { #define INPUT_PROP_SEMI_MT 0x03 /* touch rectangle only */ #define INPUT_PROP_TOPBUTTONPAD 0x04 /* softbuttons at top of pad */ #define INPUT_PROP_POINTING_STICK 0x05 /* is a pointing stick */ +#define INPUT_PROP_ACCELEROMETER 0x06 /* has accelerometer */ #define INPUT_PROP_MAX 0x1f #define INPUT_PROP_CNT (INPUT_PROP_MAX + 1) @@ -970,7 +971,8 @@ struct input_keymap_entry { */ #define MT_TOOL_FINGER 0 #define MT_TOOL_PEN 1 -#define MT_TOOL_MAX 1 +#define MT_TOOL_PALM 2 +#define MT_TOOL_MAX 2 /* * Values describing the status of a force-feedback effect