Dmitry Mastykin
492ee52c1c
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 >
2020-03-24 15:08:37 -07:00
..
2019-08-14 10:49:01 -07:00
2019-05-24 17:36:46 +02:00
2019-05-30 11:25:18 -07:00
2019-05-30 11:25:18 -07:00
2019-05-30 11:25:18 -07:00
2019-05-30 11:25:18 -07:00
2020-01-20 20:45:25 -08:00
2019-11-11 16:02:30 -08:00
2019-10-02 14:02:31 -07:00
2019-07-15 09:42:32 -07:00
2019-08-14 10:49:01 -07:00
2019-09-02 09:07:38 -07:00
2018-06-24 15:20:12 -07:00
2019-05-30 11:26:32 -07:00
2018-05-09 13:29:35 -07:00
2019-10-27 11:14:22 -07:00
2019-05-30 11:29:19 -07:00
2019-11-12 17:11:26 -08:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:30:29 +02:00
2019-06-05 17:30:29 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2020-01-10 14:45:36 -08:00
2019-07-15 09:42:32 -07:00
2019-06-19 17:09:55 +02:00
2018-09-18 15:28:07 -07:00
2019-05-30 11:26:32 -07:00
2020-03-06 10:06:36 -08:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-08-14 10:49:01 -07:00
2019-06-19 17:09:55 +02:00
2020-03-24 15:08:37 -07:00
2019-05-30 11:26:35 -07:00
2019-06-19 17:09:55 +02:00
2019-08-12 00:03:11 -07:00
2019-05-21 10:50:45 +02:00
2019-06-19 17:09:55 +02:00
2019-11-12 15:53:33 -08:00
2019-08-14 10:49:01 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-15 09:42:32 -07:00
2019-06-19 17:09:55 +02:00
2019-11-22 15:19:19 -08:00
2019-08-14 10:49:01 -07:00
2019-05-30 11:26:32 -07:00
2019-08-09 15:16:38 -07:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:37 -07:00
2018-11-12 11:52:05 -08:00
2019-06-19 17:09:55 +02:00
2019-11-11 16:25:05 -08:00
2019-06-19 17:09:55 +02:00
2019-07-24 12:48:47 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-10-09 14:56:40 -07:00
2019-10-29 17:13:37 -07:00
2019-06-05 17:36:37 +02:00
2018-06-10 13:26:40 +01:00
2019-06-05 17:36:37 +02:00
2019-10-27 11:14:24 -07:00
2018-03-30 15:31:41 -07:00
2019-06-19 11:26:09 -07:00
2019-06-05 17:36:37 +02:00
2019-10-28 21:04:27 -07:00
2019-02-07 23:41:11 -08:00
2019-05-30 11:26:32 -07:00
2019-08-11 23:24:46 -07:00
2019-10-29 17:13:39 -07:00
2019-06-05 17:37:17 +02:00
2019-06-19 17:09:55 +02:00
2019-02-19 10:38:19 -08:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-10-29 17:13:41 -07:00
2019-10-29 17:13:40 -07:00
2019-06-05 17:37:05 +02:00
2019-05-30 11:26:37 -07:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-08-01 10:55:20 -07:00
2019-10-27 11:14:25 -07:00
2019-08-20 12:03:46 -07:00
2018-07-27 11:59:05 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:37 -07:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:26:32 -07:00