summaryrefslogtreecommitdiff
path: root/hwdb/60-keyboard.hwdb
diff options
context:
space:
mode:
authorHui Wang <hui.wang@canonical.com>2014-07-30 16:09:08 +0800
committerAnthony G. Basile <blueness@gentoo.org>2014-08-04 09:59:02 -0400
commit5a3a66d76cc20868ae580fb19386de2e5c12b4bb (patch)
treecc9bcebc3ebecc3faa7ac5f421a82e980b8cf169 /hwdb/60-keyboard.hwdb
parentde02265b5ae7c289b3d6b2c26e6507a85a2cbb5c (diff)
keymap: Add microphone mute keymap for Dell Latitude
On the Dell Latitude, the mic mute key event is generated by wmi driver, the keycode assigned to this hotkey from kernel is KEY_MICMUTE (248), this keycode is too big for xorg to handle, in the xorg, the XF86AudioMicMute is assigned to F20. Please refer to 4e648ea0 of xkeyboard-config. BugLink: https://bugs.launchpad.net/bugs/1326684 BugLink: https://bugs.launchpad.net/bugs/1339998 Signed-off-by: Hui Wang <hui.wang@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'hwdb/60-keyboard.hwdb')
-rw-r--r--hwdb/60-keyboard.hwdb4
1 files changed, 4 insertions, 0 deletions
diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb
index c7ff4e4d23..70e372b3b6 100644
--- a/hwdb/60-keyboard.hwdb
+++ b/hwdb/60-keyboard.hwdb
@@ -229,6 +229,10 @@ keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnXPS*:pvr*
KEYBOARD_KEY_8c=!unknown
+# Dell Latitude microphone mute
+keyboard:name:Dell WMI hotkeys:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*
+ KEYBOARD_KEY_150=f20 # Mic mute toggle
+
###########################################################
# Everex
###########################################################