From: Ping Cheng Date: Thu, 5 Dec 2013 20:42:09 +0000 (-0800) Subject: Input: add SW_MUTE_DEVICE switch definition X-Git-Tag: v3.13-rc7~9^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b5a7ab40c2a1bfd89dd5b4bbfe98f8692d5fd62;p=kernel%2Fkernel-generic.git Input: add SW_MUTE_DEVICE switch definition Some devices, such as new Intuos series tablets, have a hardware switch to turn touch data on/off. To report the state, SW_MUTE_DEVICE is added in include/uapi/linux/input.h. Reviewed_by: Chris Bagwell Acked-by: Peter Hutterer Tested-by: Jason Gerecke Signed-off-by: Ping Cheng Signed-off-by: Dmitry Torokhov --- diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index 7bacdb5..ecc8859 100644 --- a/include/uapi/linux/input.h +++ b/include/uapi/linux/input.h @@ -858,6 +858,7 @@ struct input_keymap_entry { #define SW_FRONT_PROXIMITY 0x0b /* set = front proximity sensor active */ #define SW_ROTATE_LOCK 0x0c /* set = rotate locked/disabled */ #define SW_LINEIN_INSERT 0x0d /* set = inserted */ +#define SW_MUTE_DEVICE 0x0e /* set = device disabled */ #define SW_MAX 0x0f #define SW_CNT (SW_MAX+1)