aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/input.h
diff options
context:
space:
mode:
authorPing Cheng <pinglinux@gmail.com>2013-12-05 15:42:09 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-12-05 15:49:37 -0500
commit3b5a7ab40c2a1bfd89dd5b4bbfe98f8692d5fd62 (patch)
tree670441ce32cb62c39420ee5955d62eea4373f848 /include/uapi/linux/input.h
parent4ef38351d770cc421f4a0c7a849fd13207fc5741 (diff)
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 <chris@cnpbagwell.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Tested-by: Jason Gerecke <killertofu@gmail.com> Signed-off-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/uapi/linux/input.h')
-rw-r--r--include/uapi/linux/input.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h
index 7bacdb514377..ecc88592ecbe 100644
--- a/include/uapi/linux/input.h
+++ b/include/uapi/linux/input.h
@@ -858,6 +858,7 @@ struct input_keymap_entry {
858#define SW_FRONT_PROXIMITY 0x0b /* set = front proximity sensor active */ 858#define SW_FRONT_PROXIMITY 0x0b /* set = front proximity sensor active */
859#define SW_ROTATE_LOCK 0x0c /* set = rotate locked/disabled */ 859#define SW_ROTATE_LOCK 0x0c /* set = rotate locked/disabled */
860#define SW_LINEIN_INSERT 0x0d /* set = inserted */ 860#define SW_LINEIN_INSERT 0x0d /* set = inserted */
861#define SW_MUTE_DEVICE 0x0e /* set = device disabled */
861#define SW_MAX 0x0f 862#define SW_MAX 0x0f
862#define SW_CNT (SW_MAX+1) 863#define SW_CNT (SW_MAX+1)
863 864