thinkpad_acpi: Always report scancodes for hotkeys
commit11618294f206025472699b8f739b9eb85474985b
authorSeth Forshee <seth.forshee@canonical.com>
Sat, 6 Aug 2011 02:58:13 +0000 (5 23:58 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 6 Aug 2011 02:58:13 +0000 (5 23:58 -0300)
tree06efea0f6da7043adcf452e665914d913b94cea5
parent66372224041d2e8d036dc719c1f363f04ed1d6e4
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