[lkml]   [2002]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: cell-phone like keyboard driver anywhere?
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.

- 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.

oskar schirmer, emlix gmbh,,
fon +49 551 37000-37, fax -38, friedländer weg 7, 37085 göttingen, germany

emlix - your embedded linux partner
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.069 / U:4.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site