Skip to content

Commit

Permalink
thinkpad-acpi: Add KEY_CAMERA (Fn-F6) for Lenovo keyboards
Browse files Browse the repository at this point in the history
On the T410s and most likely other current models, Fn-F6 is labeled as
Camera/Headphone key.  Report key presses as KEY_CAMERA.

Signed-off-by: Jens Taprogge <jens.taprogge@taprogge.org>
Acked-by: Jerone Young <jerone.young@canonical.com>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
  • Loading branch information
Jens Taprogge authored and Matthew Garrett committed Aug 16, 2010
1 parent d1e14dc commit 2b75426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/thinkpad_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -3173,7 +3173,7 @@ static int __init hotkey_init(struct ibm_init_struct *iibm)
[TPACPI_KEYMAP_LENOVO_GENERIC] = {
/* Scan Codes 0x00 to 0x0B: ACPI HKEY FN+F1..F12 */
KEY_FN_F1, KEY_COFFEE, KEY_BATTERY, KEY_SLEEP,
KEY_WLAN, KEY_FN_F6, KEY_SWITCHVIDEOMODE, KEY_FN_F8,
KEY_WLAN, KEY_CAMERA, KEY_SWITCHVIDEOMODE, KEY_FN_F8,
KEY_FN_F9, KEY_FN_F10, KEY_FN_F11, KEY_SUSPEND,

/* Scan codes 0x0C to 0x1F: Other ACPI HKEY hot keys */
Expand Down

0 comments on commit 2b75426

Please sign in to comment.