-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 8 Nov 2002 10:20, Tim Wright wrote: <snip> > I've almost finished patching the Linux HID Keyboard driver (2.4.19 > kernel) so that it creates device nodes /dev/keyboards/keyboard?? for > every USB keyboard. If you ignore these, then Linux functions as usual - > all keyboard input streams are merged as the system keyboard. If you open > one of these nodes, then events from that keyboard are sent through that > node and are not sent to the system keyboard any more. I've written all > that code except for reading from the nodes (open and close work fine). To quote Vojtech "You shall not mangle events in the kernel".
It is a bad idea to add the /dev/input/keyboards API. Your chances of getting it merged are very low. What you really want to do is to use /dev/input/eventX. In a moment of happiness, "Zephaniah E. Hull" <[EMAIL PROTECTED]> even posted a driver for this to the Xpert list. That driver needs to be generalised, but it is along the right track. Brad - -- http://linux.conf.au. 22-25Jan2003. Perth, Aust. I'm registered. Are you? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9zs24W6pHgIdAuOMRApN6AKCNQjEx3vAMzghDZEbQqbFGtq/YdACgm3pF lvkP2J2dg84vc/1a8oastEo= =WVRm -----END PGP SIGNATURE----- _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
