From: Thomas Hood Date: Mon, 22 Aug 2011 04:34:36 +0000 (+0200) Subject: keymap: Support for microphone mute button on ThinkPad X220 et al X-Git-Tag: 174~30 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e3b1694a4dea049591af1f089adce327bf6a542;p=systemd keymap: Support for microphone mute button on ThinkPad X220 et al On a ThinkPad X220 there is a microphone mute button which generates ACPI event "ibm/hotkey HKEY 00000080 0000101b". As there is no key like "micmute", map it to prog2. --- diff --git a/extras/keymap/keymaps/module-lenovo b/extras/keymap/keymaps/module-lenovo index 9cb74b28..81b8feae 100644 --- a/extras/keymap/keymaps/module-lenovo +++ b/extras/keymap/keymaps/module-lenovo @@ -14,3 +14,4 @@ 0x15 volumedown 0x16 mute 0x17 prog1 # ThinkPad/ThinkVantage button (high keycode: "vendor") +0x1A prog2 # Microphone mute