From: Oskar Schirmer <os@emlix.com>
To: Holger Schurig <h.schurig@mn-logistik.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: cell-phone like keyboard driver anywhere?
Date: Fri, 23 Aug 2002 09:38:12 +0200 [thread overview]
Message-ID: <E17i91I-0007nB-00@mailer.emlix.com> (raw)
In-Reply-To: <200208210932.36132.h.schurig@mn-logistik.de>
On Wed, Aug 21, 2002 at 09:32:36AM +0200, Holger Schurig wrote:
> 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"
IMO this should not be done by the kernel, but by the application.
Reasons:
- actually, there is no key "a" etc that is pressed, but "1" etc.
- you loose ability to keep the display up to date according
to the pressed key sequence while composing characters, otherwise.
- it is easy for the application to check the timing of the
keys pressed and produce the desired characters instead [poll (2)].
- not all projects using the keyboard in question will need the
sequence-to-character conversion You describe. e.g. cash register.
gruesse(oskar)
--
oskar schirmer, emlix gmbh, http://www.emlix.com, mailto:os@emlix.com
fon +49 551 37000-37, fax -38, friedländer weg 7, 37085 göttingen, germany
emlix - your embedded linux partner
next prev parent reply other threads:[~2002-08-23 7:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-21 7:32 Holger Schurig
2002-08-22 17:22 ` Ingo Oeser
2002-08-23 7:38 ` Oskar Schirmer [this message]
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=E17i91I-0007nB-00@mailer.emlix.com \
--to=os@emlix.com \
--cc=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®