Re: [PATCH 1/2] Input: gpio_keys - Also send release events for ABS codes

2016-11-08 Thread Dmitry Torokhov
On Sat, Nov 05, 2016 at 12:58:00PM +0100, Paul Cercueil wrote: > On 03/11/2016 17:21, Dmitry Torokhov wrote: > >On Tue, Nov 01, 2016 at 11:25:03AM +0100, Paul Cercueil wrote: > >>Right now, the gpio-keys driver is mostly used with EV_KEY event types. > >>However, this driver (and its devicetree

Re: [PATCH 1/2] Input: gpio_keys - Also send release events for ABS codes

2016-11-08 Thread Dmitry Torokhov
On Sat, Nov 05, 2016 at 12:58:00PM +0100, Paul Cercueil wrote: > On 03/11/2016 17:21, Dmitry Torokhov wrote: > >On Tue, Nov 01, 2016 at 11:25:03AM +0100, Paul Cercueil wrote: > >>Right now, the gpio-keys driver is mostly used with EV_KEY event types. > >>However, this driver (and its devicetree

Re: [PATCH 1/2] Input: gpio_keys - Also send release events for ABS codes

2016-11-05 Thread Paul Cercueil
On 03/11/2016 17:21, Dmitry Torokhov wrote: On Tue, Nov 01, 2016 at 11:25:03AM +0100, Paul Cercueil wrote: Right now, the gpio-keys driver is mostly used with EV_KEY event types. However, this driver (and its devicetree bindings) support specifying a different input type, like EV_ABS, even

Re: [PATCH 1/2] Input: gpio_keys - Also send release events for ABS codes

2016-11-05 Thread Paul Cercueil
On 03/11/2016 17:21, Dmitry Torokhov wrote: On Tue, Nov 01, 2016 at 11:25:03AM +0100, Paul Cercueil wrote: Right now, the gpio-keys driver is mostly used with EV_KEY event types. However, this driver (and its devicetree bindings) support specifying a different input type, like EV_ABS, even

Re: [PATCH 1/2] Input: gpio_keys - Also send release events for ABS codes

2016-11-03 Thread Dmitry Torokhov
On Tue, Nov 01, 2016 at 11:25:03AM +0100, Paul Cercueil wrote: > Right now, the gpio-keys driver is mostly used with EV_KEY event types. > However, this driver (and its devicetree bindings) support specifying > a different input type, like EV_ABS, even though this doesn't work in > practice: "key

Re: [PATCH 1/2] Input: gpio_keys - Also send release events for ABS codes

2016-11-03 Thread Dmitry Torokhov
On Tue, Nov 01, 2016 at 11:25:03AM +0100, Paul Cercueil wrote: > Right now, the gpio-keys driver is mostly used with EV_KEY event types. > However, this driver (and its devicetree bindings) support specifying > a different input type, like EV_ABS, even though this doesn't work in > practice: "key

[PATCH 1/2] Input: gpio_keys - Also send release events for ABS codes

2016-11-01 Thread Paul Cercueil
Right now, the gpio-keys driver is mostly used with EV_KEY event types. However, this driver (and its devicetree bindings) support specifying a different input type, like EV_ABS, even though this doesn't work in practice: "key pressed" events are correctly received and treated, but "key released"

[PATCH 1/2] Input: gpio_keys - Also send release events for ABS codes

2016-11-01 Thread Paul Cercueil
Right now, the gpio-keys driver is mostly used with EV_KEY event types. However, this driver (and its devicetree bindings) support specifying a different input type, like EV_ABS, even though this doesn't work in practice: "key pressed" events are correctly received and treated, but "key released"