From: Dmitry Torokhov <dtor_core@ameritech.net>
To: linux-kernel@vger.kernel.org
Cc: Vojtech Pavlik <vojtech@suse.cz>
Subject: [PATCH 2.6] input: do not suppress 0 value relative events
Date: Sat, 4 Oct 2003 02:22:57 -0500 [thread overview]
Message-ID: <200310040223.01664.dtor_core@ameritech.net> (raw)
Input: input susbsystem should not drop 0 value relative events,
otherwise unsuspecting programs will loose transitions from
non-zero to 0 deltas. We should not require userland authors
to consult with kernel implementation details all the time,
but follow the principle of least surprise and report
everything.
input.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
===================================================================
diff -Nru a/drivers/input/input.c b/drivers/input/input.c
--- a/drivers/input/input.c Sat Oct 4 02:20:18 2003
+++ b/drivers/input/input.c Sat Oct 4 02:20:18 2003
@@ -134,7 +134,7 @@
case EV_REL:
- if (code > REL_MAX || !test_bit(code, dev->relbit) || (value == 0))
+ if (code > REL_MAX || !test_bit(code, dev->relbit))
return;
break;
next reply other threads:[~2003-10-04 7:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-04 7:22 Dmitry Torokhov [this message]
2003-10-04 7:36 ` [PATCH 2.6] input: do not suppress 0 value relative events Vojtech Pavlik
2003-10-04 7:48 ` Dmitry Torokhov
2003-10-04 8:01 ` Vojtech Pavlik
2003-10-05 19:13 ` Zach Welch
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=200310040223.01664.dtor_core@ameritech.net \
--to=dtor_core@ameritech.net \
--cc=linux-kernel@vger.kernel.org \
--cc=vojtech@suse.cz \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.