summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/dell-laptop.c
diff options
context:
space:
mode:
authorJohn Hughes <john@calvaedi.com>2011-11-16 19:51:57 +0100
committerMatthew Garrett <mjg@redhat.com>2012-03-20 12:02:03 -0400
commit747a562f342895bbb6cfdfcb82104b4b2ae566e6 (patch)
treec21379baf0b872266a4f11ad5364a38d57baf42a /drivers/platform/x86/dell-laptop.c
parent4d6446628a92a2cf706c256606b3031fc72a763e (diff)
to fix scancodes returned by sony-laptop driver
Fix scancodes returned by driver to match scancodes used to remap keys. (Before the patch FN/E returned scancode 0x1B, but to remap scancode 0x14 had to be used). The scancodes returned by the sony-laptop driver for function keys did not match the scancodes used to remap keys. Also, since the scancode was sent to the input subsystem after the mapped keysym the /lib/udev/keymap utility was confused about which scancode to report for which keysym. This patch fixes the driver so the correct scancode is shown for each key. It also adds to the documentation a description of where to find the scancodes. Signed-off-by: John Hughes <john@calva.com> Acked-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform/x86/dell-laptop.c')
0 files changed, 0 insertions, 0 deletions