thinkpad_acpi: Always report scancodes for hotkeys
commit7f9d8e2a6c02ff91bf5cc737352fa7cbaec8b412
authorSeth Forshee <seth.forshee@canonical.com>
Sun, 29 May 2011 19:37:38 +0000 (29 16:37 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 29 May 2011 19:39:01 +0000 (29 16:39 -0300)
tree898483297308403eda9247646a437d525d2f0956
parent9361cf9f53b9ef0e9708685dd9834f2fd84cbc20
thinkpad_acpi: Always report scancodes for hotkeys

Some thinkpad hotkeys report key codes like KEY_FN_F8 when something
like KEY_VOLUMEDOWN is desired. Always provide the scan codes in
addition to the key codes to assist with debugging these issues. Also
send the scan code before the key code to match what other drivers do,
as some userspace utilities expect this ordering.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/thinkpad_acpi.c