]> git.baikalelectronics.ru Git - kernel.git/commit
Input: soc_button_array - use "Windows" key for "Home"
authorBastien Nocera <hadess@hadess.net>
Tue, 10 Feb 2015 23:42:21 +0000 (15:42 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 10 Feb 2015 23:45:00 +0000 (15:45 -0800)
commit32459c7ba7d3f876b873efd0b15280914c7d6bac
treecaea30e1358a6510b2e996fc2cdf903fdc0a3af0
parent020732d43c3d3c9bdf561e5823bf4fb21ce459c1
Input: soc_button_array - use "Windows" key for "Home"

KEY_HOME is the key to go back to the beginning of the line, not the key to
get into an overview mode, as Windows does. GNOME can already make use of
the Windows key on multiple form factors, and other desktop environments
can use it depending on the form factor.

Using "Windows" as the emitted key also means that the keycode sent out
matches the symbol on the key itself.

So switch KEY_HOME to KEY_LEFTMETA ("Windows" key).

Signed-off-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/soc_button_array.c