projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ef3835
)
Input: add SW_MUTE_DEVICE switch definition
author
Ping Cheng
<
[email protected]
>
Thu, 5 Dec 2013 20:42:09 +0000
(12:42 -0800)
committer
Dmitry Torokhov
<
[email protected]
>
Thu, 5 Dec 2013 20:49:37 +0000
(12:49 -0800)
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 <
[email protected]
>
Acked-by: Peter Hutterer <
[email protected]
>
Tested-by: Jason Gerecke <
[email protected]
>
Signed-off-by: Ping Cheng <
[email protected]
>
Signed-off-by: Dmitry Torokhov <
[email protected]
>
include/uapi/linux/input.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/input.h
b/include/uapi/linux/input.h
index 7bacdb514377d28b2a77ec200bef2a8a27034fa9..ecc88592ecbe94acfbacd1eda9b5907a832470da 100644
(file)
--- 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)