From: Marian Flor <marian.flor@posteo.net>
To: dmitry.torokhov@gmail.com
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/1] GPIO Keys, fix to emit EV_ABS event also on axis release
Date: Fri, 31 Jan 2025 14:21:59 +0000 [thread overview]
Message-ID: <0eb8db5a-5ec1-49fe-9fc8-6c1e296473a6@posteo.net> (raw)
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
reply other threads:[~2025-01-31 14:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0eb8db5a-5ec1-49fe-9fc8-6c1e296473a6@posteo.net \
--to=marian.flor@posteo.net \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®