summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/input
diff options
context:
space:
mode:
authorDmitry Mastykin <dmastykin@astralinux.ru>2020-03-24 11:38:49 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2020-03-24 15:08:37 -0700
commit492ee52c1cd4b6145bc39f73a20d2cf698eb33d2 (patch)
treec014ca44b003d7cdb8a0f2c0ff3facda701a6429 /Documentation/devicetree/bindings/input
parent24ef83f6e31d20fc121a7cd732b04b498475fca3 (diff)
Input: goodix - add support for more then one touch-key
Some devices with a goodix touchscreen have more then 1 capacitive touch-key. This commit replaces the current support for a single touch-key, which ignored the reported key-code. With support for up to 7 touch-keys, based upon checking the key-code which is post-fixed to any reported touch-data. KEY_LEFTMETA is assigned to the first touch-key (it will still be the default keycode for devices with a single touch-key). KEY_F1, KEY_F2... are assigned as default keycode for the other touch-keys. This commit also add supports for keycode remapping, so that systemd-udev's hwdb can be used to remap the codes to send keycodes to match the icons on the buttons for devices with more then 1 touch-key. Signed-off-by: Dmitry Mastykin <dmastykin@astralinux.ru> Reviewed-by: Bastien Nocera <hadess@hadess.net> Link: https://lore.kernel.org/r/20200316075302.3759-1-dmastykin@astralinux.ru Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/input')
0 files changed, 0 insertions, 0 deletions