Messages in this thread | | | From | (Jon Tombs) | Subject | Re: Patch: hook for extra kbd module | Date | Fri, 22 Mar 1996 22:02:22 +0100 (MET) |
| |
Tom Bjorkholm said: > > > Hi, > > Below is a patch/diff against linux-1.3.77. > The patch adds a symbol "tty_insert_esc" that gets exported > to modules. This allows me (and others) to write modular device > drivers for things like application keyboards (extra add-on keyboards). > > Could you please include this patch in the "main-stream" kernels! > -- Or tell me a better way to merge characters/escape-sequences from > a special device with the character stream from the normal keyboard!
can't you just use ioctls (TIOCSTI I think is one) to puch characters into the tty. That way you don't even need a module, just a user mode program (that has access to the tty :-)).
-- Jon. <jon@gte.esi.us.es, http://www.esi.us.es/~jon>
| |