linux/Documentation
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
2015-09-01 12:18:40 -07:00
2015-09-09 10:55:32 -07:00
2015-08-28 22:59:36 -04:00
2015-09-08 16:26:18 -07:00
2015-06-08 16:43:09 -06:00
2014-12-10 17:41:10 -08:00
2015-02-11 13:03:11 -08:00
2015-06-26 14:51:15 -07:00
2015-06-08 23:15:45 +02:00
2015-06-26 11:23:38 -04:00
2015-09-02 12:22:54 -07:00
2015-07-14 12:35:42 -06:00
2015-08-22 14:57:59 -07:00
2015-09-10 13:29:01 -07:00
2015-06-24 20:01:36 -07:00
2015-02-27 11:44:24 -08:00
2015-06-24 18:17:40 +02:00
2014-12-08 09:07:11 -05:00
2015-06-23 06:49:44 -06:00