mbox series

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

Message ID 0eb8db5a-5ec1-49fe-9fc8-6c1e296473a6@posteo.net (mailing list archive)
Headers show
Series GPIO Keys, fix to emit EV_ABS event also on axis release | expand

Message

Marian Flor Jan. 31, 2025, 2:21 p.m. UTC
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(-)