[PATCH 0/1] GPIO Keys, fix to emit EV_ABS event also on axis release

Marian Flor posted 1 patch 1 year ago
Only 0 patches received!
drivers/input/keyboard/gpio_keys.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
[PATCH 0/1] GPIO Keys, fix to emit EV_ABS event also on axis release
Posted by Marian Flor 1 year ago
Hi

I noticed when using the gpio-keys module that an axis button is stuck
upon release of the axis. However, the docs at "linux,input-value:" 
in devicetree/bindings/input/gpio-keys.yaml notes that it should
create an event of 0 when released, but it does not as I found out.
This patch aligns the implementation with the documentation.

kr,
Marian

Marian Flor (1):
  gpio_keys.c: Send also event when EV_ABS axis button is released.

 drivers/input/keyboard/gpio_keys.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

-- 
2.39.5