acer-wmi: set the touchpad toggle key code to KEY_TOUCHPAD_TOGGLE
authorLee, Chun-Yi <joeyli.kernel@gmail.com>
Tue, 1 Mar 2011 17:07:11 +0000 (01:07 +0800)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:07:26 +0000 (06:07 -0400)
commit8941178efad900e48e44000208513a6426c74368
tree54ea69afdd6c0a8c5e68d59e31abb5b6cd94c32d
parent47ae4352bece7b617a084770495b993fcd1a2be5
acer-wmi: set the touchpad toggle key code to KEY_TOUCHPAD_TOGGLE

Set the touchpad toggle key code from F22 to KEY_TOUCHPAD_TOGGLE,
and userspace should use udev's key re-mapping facilities while X
is unable to process keycodes above 255 to adjust to the keycode.

Cc: Matthew Garrett <mjg@redhat.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Lee, Chun-Yi <jlee@novell.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/acer-wmi.c