Re: Support for keyboards with special scancodes

From: Andries.Brouwer@cwi.nl
Date: Mon Jun 03 2002 - 14:39:28 EST


    I have an Logitech Internet Navigator keyboard that has nice little
    'play', 'pause', 'e-mail' buttons of all kinds (As many of us do, i
    believe). I couldn't find any specialised keyboard drivers in the
    kernel. Only different locales.

    I'me wondering if it was possible to write a driver that would overlay
    the existing keyboard driver and pitch non-standardized scancodes codes
    in a /dev file (in a standard format). One could then create a daemon
    that would poll this file for changes to this file and perform the
    resulting action.

    Does something like this already exist?

Yes, several people made such things.
To quote one example:

=====
The FunKey kernel patch that adds a `keycode interpretation type' that says
`send a code out over /dev/funkey'. The `funky' daemon reads this character
device and starts plain Un*x commands in response. The code is independent
of the kbd_mode, so it works under textual mode as well as under XFree86.

The patch applies to Linux 2.2.14 and comes with a simple example daemon.
You can pick both up at

    http://home.zonnet.nl/vanrein/linux/funkey
=====

(I have not checked whether the URL still works -
this post is two years old.)

Andries
-
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/



This archive was generated by hypermail 2b29 : Fri Jun 07 2002 - 22:00:16 EST