[PATCH 0/1] GPIO Keys, fix to emit EV_ABS event also on axis release
From: Marian Flor
Date: Fri Jan 31 2025 - 09:22:08 EST
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