[PATCH] Add XF86XK_AudioMicMute

James M Leddy james.leddy at canonical.com
Wed Aug 8 10:26:54 PDT 2012


Lenovo Thinkpads have a key to mute microphones. Add this so that we can tell
gnome-settings-daemon to mute the mic and display a popup.

https://bugs.freedesktop.org/show_bug.cgi?id=53260

Signed-off-by: James M Leddy <james.leddy at canonical.com>
---
 XF86keysym.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/XF86keysym.h b/XF86keysym.h
index df5e9cc..93eb062 100644
--- a/XF86keysym.h
+++ b/XF86keysym.h
@@ -210,6 +210,8 @@
 #define XF86XK_TouchpadOn	0x1008FFB0   /* The touchpad got switched on */
 #define XF86XK_TouchpadOff	0x1008FFB1   /* The touchpad got switched off */
 
+#define XF86XK_AudioMicMute	0x1008FFB2   /* Mute the Mic from the system */
+
 /* Keys for special action keys (hot keys) */
 /* Virtual terminals on some operating systems */
 #define XF86XK_Switch_VT_1	0x1008FE01
-- 
1.7.9.5



More information about the xorg-devel mailing list