From: David Herrmann Date: Thu, 29 Aug 2013 16:35:11 +0000 (-0700) Subject: Input: add SYN_MAX and SYN_CNT constants X-Git-Tag: v3.12-rc1~9^2~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=52764fed5049655926bcecaefd52f0a415ceb105;p=kernel%2Fkernel-generic.git Input: add SYN_MAX and SYN_CNT constants SYN_* events are special and not enabled via set_bit() for devices. Hence, they haven't been really needed, yet. However, user-space can still make great use of that for int->string debugging helpers or alike. Also, I haven't seen any reason not to define these, so here they are. Signed-off-by: David Herrmann Acked-by: Peter Hutterer Signed-off-by: Dmitry Torokhov --- diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index 4649ee3..2fb6fae 100644 --- a/include/uapi/linux/input.h +++ b/include/uapi/linux/input.h @@ -194,6 +194,8 @@ struct input_keymap_entry { #define SYN_CONFIG 1 #define SYN_MT_REPORT 2 #define SYN_DROPPED 3 +#define SYN_MAX 0xf +#define SYN_CNT (SYN_MAX+1) /* * Keys and buttons