]> git.baikalelectronics.ru Git - kernel.git/commit
Input: soc_button_array - properly map usage 0x07/0xe3 to KEY_LEFTMETA
authorHans de Goede <hdegoede@redhat.com>
Tue, 11 Apr 2017 03:34:19 +0000 (20:34 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 11 Apr 2017 03:41:37 +0000 (20:41 -0700)
commit626ab38f8aa32b9a7a2fad0acac21b024644bcc8
treeb202de077e988813014ad2c21bc8479e724e8cec
parent043ce81eb8195e1ff2cef74e90a0d1c9b8ea67e1
Input: soc_button_array - properly map usage 0x07/0xe3 to KEY_LEFTMETA

When submitting the support for the ACPI0011 windows tablet keys device I
mapped the "windows" logo homekey to KEY_HOMEPAGE. But this is inconsistent
with how it is done on windows tablets using the old PNP0C40 ACPI device
and it does not match the HUT spec, which says that usage-page 7 usage 0xe3
is "Keyboard Left GUI".

This commit maps usage-page 7 usage 0xe3 to KEY_LEFTMETA fixing this.

Fixes: 3fd5657ec380 ("Input: soc_button_array - add support for ACPI 6.0...")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/soc_button_array.c