All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ubuntu PATCH] input: allow root to inject unknown scan codes
@ 2006-06-21  5:32 Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2006-06-21  5:32 UTC (permalink / raw)
  To: dtor_core, akpm, lkml

Allow root to inject unknown scan codes for input device.

http://www.kernel.org/git/?p=linux/kernel/git/bcollins/ubuntu-dapper.git;a=commitdiff;h=250bc863956a93a8eab7991b0dc7f040eb5d25cc


---
 drivers/input/input.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2617-pv.orig/drivers/input/input.c
+++ linux-2617-pv/drivers/input/input.c
@@ -75,7 +75,7 @@ void input_event(struct input_dev *dev, 
 
 		case EV_KEY:
 
-			if (code > KEY_MAX || !test_bit(code, dev->keybit) || !!test_bit(code, dev->key) == value)
+			if (code > KEY_MAX || !!test_bit(code, dev->key) == value)
 				return;
 
 			if (value == 2)




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-21  5:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-21  5:32 [Ubuntu PATCH] input: allow root to inject unknown scan codes Randy Dunlap

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.