lkml.org 
[lkml]   [2002]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Support for keyboards with special scancodes
    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/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.033 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site