mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* cell-phone like keyboard driver anywhere?
@ 2002-08-21  7:32 Holger Schurig
  2002-08-22 17:22 ` Ingo Oeser
  2002-08-23  7:38 ` Oskar Schirmer
  0 siblings, 2 replies; 12+ messages in thread
From: Holger Schurig @ 2002-08-21  7:32 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-08-23 15:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-21  7:32 cell-phone like keyboard driver anywhere? 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
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

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®