Today Lenovo Thinkpads are coming with a new key for muting the microphone. They started this with the T400s & it is now on T410(s)/510, W510/W710, L412/512, X100e, Edge 13/14/15 Thinkpads. Currently 12 models, with more coming in the foreseeable future. I want to define a keycode for microphone mute to be able take advantage of this key in userspace. The only issue is I'm not sure the best code to use, or if these are defined from somewhere else? Here is what I propose .. though feedback would be greatly appreciated. Signed-off-by: Jerone Young <jerone.young@xxxxxxxxxxxxx> diff --git a/include/linux/input.h b/include/linux/input.h index 746d426..ca5373a 100644 --- a/include/linux/input.h +++ b/include/linux/input.h @@ -377,6 +377,8 @@ struct input_absinfo { #define KEY_WIMAX 246 +#define KEY_MICROPHONE_MUTE 247 /* mute microphone */ + /* Range 248 - 255 is reserved for special needs of AT keyboard driver */ #define BTN_MISC 0x100 -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html