Re: "Internet Keyboard" support for Linux

Pavel Machek (pavel@ucw.cz)
Wed, 8 Dec 1999 15:23:53 +0100


Hi!

> Hi. I am wondering if there is any interest in support for those "Internet
> Keyboards." I've implimented a kernel/daemon based system for mine, and I've
> given this to a couple people on IRC. They seem interested.
>
> What I'd like to find out, is which is the best way to do it.
>
> As one option, I can hook IRQ1 myself, and completely reimpliment the keyboard
> handler. This allows me to have my module inserted without the user having to
> patch the kernel, but it also requires me to completely reimpliment the
> keyboard handler inside my module. This is also platform-specific.
>
> The other way is a small modification to the existing keyboard handler code.
> It could declare a global symbol in the kernel, and if this symbol was set,
> call the code that it pointed to every time a scancode was being processed, and
> behave according to the return value of that function.

Is not setkeycodes enough for you?
Pavel

-- 
The best software in life is free (not shareware)!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/