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-09-08 11:46:48 -07:00
2014-09-26 11:02:55 +02:00
2015-08-07 02:42:22 +02:00
2013-09-11 15:59:28 -07:00
2015-09-01 12:18:40 -07:00
2015-07-29 18:32:10 +01:00
2014-09-26 11:02:55 +02:00
2013-11-13 12:09:14 +09:00
2015-05-07 09:35:14 -06:00
2015-08-13 12:32:07 -06:00
2015-09-08 15:35:28 -07:00
2012-11-09 18:07:11 +05:30
2011-09-27 18:08:04 +02:00
2015-09-10 18:56:14 -07:00
2015-04-14 16:49:00 -07:00
2014-05-27 13:56:21 -07:00
2013-05-21 10:21:57 -07:00
2015-09-01 15:50:38 +02:00
2013-10-30 01:21:24 +01:00
2012-04-03 13:09:18 +02:00
2015-03-09 21:06:18 +11:00
2014-10-28 09:06:11 -04:00
2015-08-31 15:05:31 -04:00
2015-10-14 17:15:04 -07:00
2015-08-17 13:46:22 +05:30
2015-09-09 10:55:32 -07:00
2015-04-21 09:42:58 -07:00
2014-09-21 17:03:04 -03:00
2013-08-20 12:47:28 +02:00
2014-05-26 12:53:40 +10:00
2014-01-07 11:54:28 +09:00
2015-07-20 11:45:45 +02:00
2015-08-07 15:05:01 -07:00
2015-09-09 10:27:59 -07:00
2015-09-08 17:52:23 -07:00
2014-07-17 18:43:40 -07:00
2014-02-28 15:12:08 -08:00
2015-09-14 09:12:03 +02:00
2015-04-10 22:22:56 +02:00
2015-09-12 19:43:02 -07:00
2015-08-24 14:05:15 +02:00
2015-02-13 17:15:44 +10:30
2014-02-10 16:01:40 -08:00
2015-08-28 22:59:36 -04:00
2015-10-13 23:30:31 -07:00
2015-09-08 16:26:18 -07:00
2012-03-30 16:03:15 -07:00
2015-06-08 16:43:09 -06:00
2015-08-07 16:26:14 +01:00
2014-12-10 17:41:10 -08:00
2015-06-08 16:42:07 -06:00
2015-07-01 19:09:11 -07:00
2015-02-11 13:03:11 -08:00
2014-02-10 16:01:40 -08:00
2012-05-02 00:10:49 -07:00
2015-06-26 14:51:15 -07:00
2014-08-26 09:35:53 +02:00
2015-08-03 17:30:00 -07:00
2013-03-22 12:10:42 -04:00
2009-06-12 18:01:47 +02:00
2014-06-11 08:35:34 -07:00
2013-01-26 22:20:06 -08:00
2015-09-17 16:06:43 -07:00
2015-06-08 23:15:45 +02:00
2014-12-08 12:56:06 +08:00
2015-06-26 11:23:38 -04:00
2015-08-05 13:43:45 -07:00
2013-07-09 22:09:19 +02:00
2015-04-18 11:10:49 -04:00
2015-08-07 14:34:58 +02:00
2014-03-08 12:39:44 +05:30
2014-06-10 19:11:06 -04:00
2015-09-25 02:48:44 +02:00
2015-09-02 12:22:54 -07:00
2015-07-14 12:35:42 -06:00
2015-06-22 16:05:04 -06:00
2015-09-29 21:16:56 -07:00
2014-08-08 15:57:24 -07:00
2015-08-04 08:42:02 -07:00
2015-07-29 11:02:35 +02:00
2015-05-19 08:39:21 +02:00
2015-06-25 15:22:36 -07:00
2015-08-11 11:18:53 +10:00
2015-06-12 17:39:51 -07:00
2010-11-15 18:25:12 +09:00
2015-06-09 17:23:00 +02:00
2015-04-17 09:04:12 -04:00
2015-09-17 16:09:22 -07:00
2015-07-24 17:48:55 -07:00
2015-09-14 07:41:45 -07:00
2015-02-26 11:57:29 -08:00
2013-08-09 10:57:06 -04:00
2015-09-08 14:04:14 -07:00
2015-08-18 09:57:15 -07:00
2015-06-22 16:04:57 -06:00
2015-06-09 18:43:47 -03:00
2015-08-22 14:57:59 -07:00
2015-09-10 13:29:01 -07:00
2015-05-24 12:08:59 -07:00
2015-09-09 21:33:36 +02:00
2009-01-07 10:00:18 -08:00
2015-09-01 10:07:40 -07:00
2015-06-24 20:01:36 -07:00
2014-12-29 15:28:24 -07:00
2015-08-13 17:54:06 -06:00
2014-09-26 11:10:11 +02:00
2013-12-02 11:24:18 +00:00
2015-08-03 10:57:09 +02:00
2013-06-26 21:58:06 -07:00
2014-10-14 02:18:16 +02:00
2008-07-25 10:53:30 -07:00
2008-02-06 10:41:09 -08:00
2015-02-10 14:30:31 -08:00
2015-09-25 16:31:46 +01:00
2013-12-03 10:08:57 -08:00
2015-07-27 18:12:01 -07:00
2015-02-27 11:44:24 -08:00
2015-07-10 13:54:34 -06:00
2015-03-05 13:37:01 +10:30
2007-03-01 14:53:39 -08:00
2015-05-27 15:22:15 +02:00
2012-03-23 16:58:37 -07:00
2005-09-07 16:57:27 -07:00
2008-02-03 15:27:38 +02:00
2015-06-22 10:14:05 -06:00
2011-03-31 11:26:23 -03:00
2014-04-04 09:50:07 -07:00
2015-06-24 20:01:36 -07:00
2015-09-08 15:35:28 -07:00
2014-05-05 15:32:05 +02:00
2015-04-21 14:47:16 +05:30
2014-05-20 16:54:21 -06:00
2014-04-09 13:44:34 -07:00
2014-05-05 15:32:05 +02:00
2015-06-24 18:17:40 +02:00
2015-07-24 15:05:57 +02:00
2011-04-28 16:12:47 -04:00
2015-01-19 12:05:32 +01:00
2013-11-13 12:09:34 +09:00
2015-02-17 14:34:54 -08:00
2015-08-24 11:28:17 -06:00
2014-05-04 09:49:46 +02:00
2015-05-02 09:54:30 +03:00
2012-05-25 16:18:34 +02:00
2015-08-25 10:44:49 +02:00
2005-04-16 15:20:36 -07:00
2013-04-29 15:18:50 +02:00
2015-05-05 14:24:45 -05:00
2013-08-20 12:59:18 +02:00
2015-04-01 17:21:35 +02:00
2006-06-29 10:26:25 -07:00
2014-04-07 16:36:11 -07:00
2005-04-16 15:20:36 -07:00
2014-05-25 12:39:00 -07:00
2015-06-08 17:04:11 -06:00
2015-07-14 12:36:39 -06:00
2011-09-27 18:08:04 +02:00
2015-09-08 11:46:48 -07:00
2015-02-26 11:57:30 -08:00
2015-03-20 07:41:55 -06:00
2015-06-22 10:14:05 -06:00
2014-12-08 09:07:11 -05:00
2015-03-20 07:41:55 -06:00
2012-11-28 18:36:06 +10:00
2014-11-24 10:49:54 -07:00
2010-08-04 15:21:40 +02:00
2014-12-13 12:42:53 -08:00
2015-06-24 17:49:40 -07:00
2014-09-28 11:08:00 +02:00
2015-05-13 15:39:04 -04:00
2015-08-13 18:03:18 -06:00
2015-02-24 06:45:25 +09:00
2012-06-28 12:03:15 +02:00
2015-08-31 19:41:41 +02:00
2015-06-23 06:49:44 -06:00
2013-07-13 12:09:57 -07:00
2015-09-03 15:46:07 -07:00
2015-03-20 07:41:55 -06:00
2015-07-24 15:15:17 +02:00
2015-08-14 16:06:13 +01:00
2015-01-20 14:02:58 -07:00
2015-07-04 14:09:25 -04:00
2012-02-28 16:05:06 +01:00
2014-12-22 15:40:48 +01:00
2010-08-11 08:59:18 -07:00
2012-03-30 16:03:15 -07:00
2012-09-26 19:56:15 +02:00
2015-05-11 21:42:23 +05:30
2006-10-03 23:39:02 +02:00
2015-05-06 14:45:19 +02:00
2015-05-19 15:47:18 +02:00
2015-04-18 11:10:49 -04:00
2014-05-21 11:19:36 +02:00
2014-12-11 13:38:31 -08:00
2014-05-05 15:32:05 +02:00
2015-06-16 21:12:52 +03:00
2015-01-09 23:22:12 +01:00
2014-05-05 15:32:05 +02:00
2013-01-03 15:57:16 -08:00
2015-03-24 22:01:58 -06:00
2008-10-16 11:21:32 -07:00
2011-03-31 11:26:23 -03:00
2005-06-21 18:46:32 -07:00
2011-03-30 12:02:05 +02:00
2015-05-22 09:38:56 -06:00
2015-09-15 07:12:06 +02:00
2013-06-03 14:20:18 -07:00
2014-06-19 15:15:27 +02:00
2015-09-01 18:46:42 -07:00
2005-04-16 15:20:36 -07:00
2014-09-19 14:44:51 -07:00
2015-09-08 15:35:28 -07:00
2014-09-26 11:03:00 +02:00
2013-12-06 16:37:43 -05:00
2015-06-11 15:16:55 +10:00
2005-04-16 15:20:36 -07:00
2012-01-02 13:04:55 +01:00
2006-12-20 01:46:58 -05:00
2015-06-12 17:26:56 -07:00
2010-03-24 16:31:20 -07:00
2015-05-05 09:50:38 -04:00
2014-09-23 23:44:16 -07:00