public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6] input: do not suppress 0 value relative events
@ 2003-10-04  7:22 Dmitry Torokhov
  2003-10-04  7:36 ` Vojtech Pavlik
  0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Torokhov @ 2003-10-04  7:22 UTC (permalink / raw)
  To: linux-kernel; +Cc: Vojtech Pavlik

  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;




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-10-05 19:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-04  7:22 [PATCH 2.6] input: do not suppress 0 value relative events Dmitry Torokhov
2003-10-04  7:36 ` Vojtech Pavlik
2003-10-04  7:48   ` Dmitry Torokhov
2003-10-04  8:01     ` Vojtech Pavlik
2003-10-05 19:13       ` Zach Welch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox