mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andries.Brouwer@cwi.nl
To: kernel@bonin.ca, linux-kernel@vger.kernel.org
Cc: bonin@bonin.ca
Subject: Re: Support for keyboards with special scancodes
Date: Mon, 3 Jun 2002 21:39:28 +0200 (MEST)	[thread overview]
Message-ID: <UTC200206031939.g53JdSJ17872.aeb@smtp.cwi.nl> (raw)

    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

             reply	other threads:[~2002-06-03 19:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-03 19:39 Andries.Brouwer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-06-03 17:52 Andre Bonin
2002-06-03 18:11 ` Xavier Bestel
2002-06-03 19:32 ` Thunder from the hill
2002-06-03 19:44   ` Andre Bonin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=UTC200206031939.g53JdSJ17872.aeb@smtp.cwi.nl \
    --to=andries.brouwer@cwi.nl \
    --cc=bonin@bonin.ca \
    --cc=kernel@bonin.ca \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®