linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: James Courtier-Dutton <james.dutton@gmail.com>
To: linux-input@vger.kernel.org
Subject: usb keyboard translations
Date: Sat, 30 Oct 2010 15:32:09 +0100	[thread overview]
Message-ID: <AANLkTin9GHck97EdayM+iySpgPi3s0ZNuRYjqge16DOE@mail.gmail.com> (raw)

Hi,

When I plug a special purpose keyboard into the USB port, it creates a
/dev/input/event9
It then provides input to the terminal as though it was a keyboard.
Unfortunately, the key mappings are all wrong for this keyboard.
Is there some way I can do key translations between the the USB
keyboard and the terminal.
The problem is I only want the translations to occur to events from
/dev/input/event9 and not any other keyboard/mouse device that is also
plugged in.
Alternatively, is there a way that I can get these events to not even
reach the terminal, and allow me to write a daemon that would listen
to /dev/input/event9 and provide a interface to my specific
application.

Kind Regards

James

             reply	other threads:[~2010-10-30 14:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-30 14:32 James Courtier-Dutton [this message]
2010-11-01 15:58 ` usb keyboard translations H Hartley Sweeten
2010-11-01 22:40   ` James Courtier-Dutton

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=AANLkTin9GHck97EdayM+iySpgPi3s0ZNuRYjqge16DOE@mail.gmail.com \
    --to=james.dutton@gmail.com \
    --cc=linux-input@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;
as well as URLs for NNTP newsgroup(s).