summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAndy Lutomirski2011-05-24 21:16:43 +0200
committerMatthew Garrett2011-08-05 20:45:41 +0200
commit33009557bd9397c446a59e4cc91059a8e84c046b (patch)
treeb553cf2d802bda2170ae8da013a1dbe3a79e2d36 /include/linux
parentmsi-laptop: add MSI U270 netbook to module alias and scm list (diff)
downloadkernel-qcow2-linux-33009557bd9397c446a59e4cc91059a8e84c046b.tar.gz
kernel-qcow2-linux-33009557bd9397c446a59e4cc91059a8e84c046b.tar.xz
kernel-qcow2-linux-33009557bd9397c446a59e4cc91059a8e84c046b.zip
Add KEY_MICMUTE and enable it on Lenovo X220
I suspect that this works on T410. Signed-off-by: Andy Lutomirski <luto@mit.edu> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index 068784e17972..a637e7814334 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -438,6 +438,8 @@ struct input_keymap_entry {
#define KEY_WIMAX 246
#define KEY_RFKILL 247 /* Key that controls all radios */
+#define KEY_MICMUTE 248 /* Mute / unmute the microphone */
+
/* Code 255 is reserved for special needs of AT keyboard driver */
#define BTN_MISC 0x100