lkml.org 
[lkml]   [2000]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Capturing all keys on more-than-102-keys keyboards
From
Date
Andries.Brouwer@cwi.nl writes:

> Sure. I have a Tandberg keyboard with quite a few extra keys.
> The extra keys is dedicated to an ancient word processor,
> and I believe they can be put to other uses now.
>
> All "normal" keys are sent in the standard way.
> The extra ones are sent by first sending a zero, and then
> a keycode for some "normal" key.
> Releasing the key or autorepeating use the same zero prefix.
>
> The current keyboard driver toss zeroes in the interrrupt routine,
> because they don't conform to protocol. So I get ordinary letters
> and numbers from my extra keys. And that is what showkey shows too.
> Using the printk() method showed the zeroes.
>
> Interesting. My information so far seems to indicate that things are
> a bit different. You say that the prefix is 0, but so far my reports
> mention 0x80. (Maybe you saw 0 with a printk past the point
> where this first bit was interpreted as key release bit?)

The program showkey gives me these codes from my Tandberg TDV5020
keyboard:

HELP key 0x80 0x11 0x80 0x91
EXIT key 0x80 0x25 0x80 0xa5
CUT key 0x80 0x14 0x80 0x94
COPY key 0x80 0x16 0x80 0x96
MOVE key 0x80 0x17 0x80 0x97

and so on.
--
Harald Arnesen, Apalløkkveien 23 A, N-0956 Oslo, Norway

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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