Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262592
b: refs/heads/master
c: 3300955
h: refs/heads/master
v: v3
  • Loading branch information
Andy Lutomirski authored and Matthew Garrett committed Aug 5, 2011
1 parent 99f7fec commit ee0f856
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 38803141bf6ccf8f20d05c6f48e6e12c3650ce9a
refs/heads/master: 33009557bd9397c446a59e4cc91059a8e84c046b
11 changes: 10 additions & 1 deletion trunk/drivers/platform/x86/thinkpad_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -3185,9 +3185,18 @@ static int __init hotkey_init(struct ibm_init_struct *iibm)

KEY_VENDOR, /* 0x17: Thinkpad/AccessIBM/Lenovo */

/* (assignments unknown, please report if found) */
KEY_UNKNOWN, KEY_UNKNOWN,

/*
* The mic mute button only sends 0x1a. It does not
* automatically mute the mic or change the mute light.
*/
KEY_MICMUTE, /* 0x1a: Mic mute (since ?400 or so) */

/* (assignments unknown, please report if found) */
KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN,
KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN,
KEY_UNKNOWN,
},
};

Expand Down
2 changes: 2 additions & 0 deletions trunk/include/linux/input.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee0f856

Please sign in to comment.