Hans de Goede
6f29d3b277
Input: gpio_keys_polled - add support for abs/rel axis
...
This changAdd support for EV_ABS / EV_REL events to the gpio-keys-polled driver.
The driver already allows specifying what type of events (key / rel / abs)
a button generates when pressed, but for rel / abs axis we also need to
specify which value this specific gpio represents.
One use case is digital joysticks / direction-pads which are hooked up to
gpio, in this case we've left and right buttons which we want to map to
EV_ABS, ABS_X and we want generate events for left with a value of -1 and
for right with a value of +1 (and similar for up / down and ABS_Y).
Signed-off-by: Hans de Goede <hdegoede@redhat.com >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
2015-10-14 17:15:04 -07:00
..
2015-08-27 14:59:07 +05:30
2015-09-24 17:55:32 -05:00
2015-06-10 11:15:17 +09:00
2015-04-22 09:18:17 -07:00
2015-09-01 19:45:46 -07:00
2015-07-16 09:34:06 +02:00
2015-03-25 10:42:53 +01:00
2015-09-01 12:18:40 -07:00
2015-08-03 14:33:52 +09:00
2015-09-04 11:10:18 -07:00
2015-08-15 18:27:23 -04:00
2015-06-02 19:07:50 +02:00
2015-08-10 21:26:25 +09:00
2013-04-08 15:44:55 +08:00
2015-01-13 13:58:01 -06:00
2015-05-04 13:25:19 +02:00
2015-09-24 17:55:30 -05:00
2015-08-17 15:52:39 +10:00
2015-06-23 13:35:51 +09:00
2015-06-12 10:48:51 +03:00
2015-09-08 16:16:26 -07:00
2015-03-06 22:51:33 +11:00
2015-08-26 18:47:58 +02:00
2015-09-17 14:36:37 -05:00
2015-10-14 17:15:04 -07:00
2015-09-22 19:07:11 +02:00
2015-08-25 11:39:50 +02:00
2015-09-04 11:40:40 -07:00
2012-09-07 19:18:37 +02:00
2015-06-11 22:19:46 +05:30
2015-08-11 15:57:21 -03:00
2015-09-03 16:41:38 -07:00
2015-09-04 12:02:11 -07:00
2013-12-17 18:10:08 +01:00
2015-06-21 21:54:01 +02:00
2015-08-05 13:44:24 -07:00
2015-08-27 14:50:54 +02:00
2015-09-02 12:16:24 -07:00
2015-09-03 08:08:17 -07:00
2015-08-05 13:44:24 -07:00
2015-08-07 03:02:24 +02:00
2015-08-14 21:35:35 +02:00
2015-09-24 17:06:32 -05:00
2015-08-14 16:45:51 -07:00
2015-09-04 10:22:09 -07:00
2015-09-01 19:45:46 -07:00
2015-06-10 16:14:03 +02:00
2015-09-03 16:41:38 -07:00
2013-07-03 16:08:06 -07:00
2015-09-09 15:01:41 +02:00
2014-08-16 16:56:23 -05:00
2015-09-21 14:16:09 -07:00
2015-06-17 09:57:46 +03:00
2014-03-04 16:44:23 +08:00
2015-09-01 13:09:20 -07:00
2015-09-08 16:16:26 -07:00
2015-03-18 22:43:07 +01:00
2015-09-01 13:29:48 -07:00
2015-09-10 17:59:04 -07:00
2015-09-04 11:46:02 -07:00
2015-09-22 09:48:34 -07:00
2015-03-26 23:51:36 +01:00
2015-07-19 10:31:37 +01:00
2015-09-17 14:36:36 -05:00
2015-09-04 11:35:03 -07:00
2015-09-15 16:08:54 +08:00
2015-09-04 15:49:32 -07:00
2015-09-11 15:12:59 -07:00
2014-09-23 23:44:16 -07:00
2014-11-19 16:22:42 +01:00
2015-04-14 19:35:44 -05:00
2015-09-03 15:00:27 -05:00
2011-03-21 11:00:52 +11:00
2012-01-04 00:33:15 -07:00
2015-03-10 10:34:33 -05:00
2015-03-25 00:53:29 -05:00
2015-10-02 11:44:20 -07:00