From: Holger Schurig <h.schurig@mn-logistik.de>
To: Russell King <rmk@arm.linux.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: cell-phone like keyboard driver anywhere?
Date: Fri, 23 Aug 2002 12:05:28 +0200 [thread overview]
Message-ID: <200208231205.28764.h.schurig@mn-logistik.de> (raw)
In-Reply-To: <20020823103151.A19858@flint.arm.linux.org.uk>
> The problems that need to be resolved with the kernel approach. Lets
> look at the '1-1-1' case:
>
> 1. Do you queue the characters "a" "^h" "b" "^h" "c" ?
There is no '1-1-1' case, the case is '1-1-1-pause'. Only after the pause
would the software (may it be kernel or user-space) know that and what
character has been meant. At the '1-1-1' state the user might press again a 1
and then wait, then this might be an '1-pause' case.
The idea is that in the case of '1-1-1-pause' the driver queues exactly one
character, e.g. the "c".
> 2. How do you handle the case where the app is waiting for one key press
> only, but the user hits '1' three times?
See 1. The app doesn't see that this key has been hit three times.
> 3. what if the app doesn't want to accept another character into (say)
> a text field? The effect of "a" "^h" "b" will always replace the last
> character.
When the driver would send Backspaces, then yes. Otherwise not.
So we both agree that sending backspaces from a cell-phone-like keyboard
driver is a bad thing :-)
next prev parent reply other threads:[~2002-08-23 10:02 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
2002-08-23 7:54 ` Holger Schurig
[not found] ` <20020823103151.A19858@flint.arm.linux.org.uk>
2002-08-23 10:05 ` Holger Schurig [this message]
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=200208231205.28764.h.schurig@mn-logistik.de \
--to=h.schurig@mn-logistik.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk@arm.linux.org.uk \
/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®