From: Holger Schurig <h.schurig@mn-logistik.de>
To: linux-kernel@vger.kernel.org
Subject: cell-phone like keyboard driver anywhere?
Date: Wed, 21 Aug 2002 09:32:36 +0200 [thread overview]
Message-ID: <200208210932.36132.h.schurig@mn-logistik.de> (raw)
I have to write a keyboard driver for a cell-phone like keyboard. I'm just
wondering if this has been done before.
Basically, the keys are in some x/y matrix. How to decode that can be seen in
drivers/char/asi_keyboard.c (after applying the patches
ftp://ftp.arm.linux.org.uk/pub/armlinux/source/kernel-patches/v2.4/patch-2.4.18-rmk7.bz2
ftp://source.mvista.com/pub/xscale/pxa/diff-2.4.18-rmk7-pxa3.gz
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=1187/1
However, this file (as any other that I have seen) assumes that there are
shift, ctrl, alt etc layers. But a cell-phone like keyboard operates
differently, e.g.
1 pause -> send keycode for character "a"
1 1 pause -> send keycode for character "b"
1 1 1 pause -> send keycode for character "c"
2 pause -> send keycode for character "d"
and so on.
Has anybody done things in this area?
Holger
next reply other threads:[~2002-08-21 8:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-21 7:32 Holger Schurig [this message]
2002-08-22 17:22 ` Ingo Oeser
2002-08-23 7:38 ` Oskar Schirmer
2002-08-23 7:54 ` Holger Schurig
[not found] ` <20020823103151.A19858@flint.arm.linux.org.uk>
2002-08-23 10:05 ` Holger Schurig
2002-08-23 10:33 ` Russell King
2002-08-23 11:45 ` Holger Schurig
2002-08-23 12:35 ` Russell King
2002-08-23 14:21 ` Jan Harkes
2002-08-23 15:10 ` Holger Schurig
2002-08-23 15:34 ` Jan Harkes
2002-08-23 15:37 ` Thunder from the hill
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=200208210932.36132.h.schurig@mn-logistik.de \
--to=h.schurig@mn-logistik.de \
--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®