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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux