aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hood <jdthood@gmail.com>2011-08-22 06:34:36 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2011-08-22 06:34:36 +0200
commit6e3b1694a4dea049591af1f089adce327bf6a542 (patch)
tree770d43b633f373b1e5c8179bfd3090873e4c8dcd
parent3c00bc177ce4820db4fc6bdada02b9c21386ed41 (diff)
downloadudev-6e3b1694a4dea049591af1f089adce327bf6a542.tar.gz
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.
-rw-r--r--extras/keymap/keymaps/module-lenovo1
1 files changed, 1 insertions, 0 deletions
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