diff options
-rw-r--r-- | drivers/platform/x86/thinkpad_acpi.c | 11 | ||||
-rw-r--r-- | include/linux/input.h | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 26c5b117df22..7bd829f247eb 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -3186,8 +3186,17 @@ static int __init hotkey_init(struct ibm_init_struct *iibm) | |||
3186 | KEY_VENDOR, /* 0x17: Thinkpad/AccessIBM/Lenovo */ | 3186 | KEY_VENDOR, /* 0x17: Thinkpad/AccessIBM/Lenovo */ |
3187 | 3187 | ||
3188 | /* (assignments unknown, please report if found) */ | 3188 | /* (assignments unknown, please report if found) */ |
3189 | KEY_UNKNOWN, KEY_UNKNOWN, | ||
3190 | |||
3191 | /* | ||
3192 | * The mic mute button only sends 0x1a. It does not | ||
3193 | * automatically mute the mic or change the mute light. | ||
3194 | */ | ||
3195 | KEY_MICMUTE, /* 0x1a: Mic mute (since ?400 or so) */ | ||
3196 | |||
3197 | /* (assignments unknown, please report if found) */ | ||
3189 | KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN, | 3198 | KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN, |
3190 | KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN, | 3199 | KEY_UNKNOWN, |
3191 | }, | 3200 | }, |
3192 | }; | 3201 | }; |
3193 | 3202 | ||
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 { | |||
438 | #define KEY_WIMAX 246 | 438 | #define KEY_WIMAX 246 |
439 | #define KEY_RFKILL 247 /* Key that controls all radios */ | 439 | #define KEY_RFKILL 247 /* Key that controls all radios */ |
440 | 440 | ||
441 | #define KEY_MICMUTE 248 /* Mute / unmute the microphone */ | ||
442 | |||
441 | /* Code 255 is reserved for special needs of AT keyboard driver */ | 443 | /* Code 255 is reserved for special needs of AT keyboard driver */ |
442 | 444 | ||
443 | #define BTN_MISC 0x100 | 445 | #define BTN_MISC 0x100 |