Messages in this thread | | | From | Oliver Neukum <> | Subject | Re: What's in hid.git for 2.6.30 | Date | Fri, 1 May 2009 01:02:34 +0200 |
| |
Am Freitag, 1. Mai 2009 00:45:51 schrieb Jiri Kosina: > --- a/drivers/hid/hid-core.c > +++ b/drivers/hid/hid-core.c > @@ -1824,6 +1824,9 @@ int hid_check_keys_pressed(struct hid_device *hid) > struct hid_input *hidinput; > int i; > > + if (!(hid->claimed & HID_CLAIMED_INPUT)) > + return 0; > +
Jiri,
is there a guarantee all keyboards will be claimed as input devices?
Regards Oliver
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |