Re: Capturing all keys on more-than-102-keys keyboards

From: Harald Arnesen (gurre@start.no)
Date: Sun Feb 13 2000 - 18:34:51 EST


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/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:26 EST