thinkpad_acpi: Always report scancodes for hotkeys
authorSeth Forshee <seth.forshee@canonical.com>
Fri, 14 Jan 2011 21:54:39 +0000 (15:54 -0600)
committerMatthew Garrett <mjg@redhat.com>
Mon, 21 Feb 2011 22:06:20 +0000 (17:06 -0500)
commit5ffba7e696510c90e8327a2041764b2a60e56c6e
treea71e777556d1fd899f7ab2cb29830684f99e1589
parentbbb706079abe955a9e3f208f541de97d99449236
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