]> err.no Git - systemd/commitdiff
keymap: Support for microphone mute button on ThinkPad X220 et al
authorThomas Hood <jdthood@gmail.com>
Mon, 22 Aug 2011 04:34:36 +0000 (06:34 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Mon, 22 Aug 2011 04:34:36 +0000 (06:34 +0200)
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.

extras/keymap/keymaps/module-lenovo

index 9cb74b28deade48a2e5a33c77935cf455f700cc2..81b8feae0bdbfe5241c3098e1b8aef1dd513872f 100644 (file)
@@ -14,3 +14,4 @@
 0x15 volumedown
 0x16 mute
 0x17 prog1 # ThinkPad/ThinkVantage button (high keycode: "vendor")
+0x1A prog2 # Microphone mute