linux-mips
[Top] [All Lists]

Re: DECstation keyboard mappings and XFree

To: Geert Uytterhoeven <geert@linux-m68k.org>
Subject: Re: DECstation keyboard mappings and XFree
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Mon, 11 Feb 2002 16:36:13 +0100 (MET)
Cc: Karsten Merker <karsten@excalibur.cologne.de>, Linux/MIPS Development <linux-mips@oss.sgi.com>
In-reply-to: <Pine.GSO.4.21.0202111604400.13432-100000@vervain.sonytel.be>
Organization: Technical University of Gdansk
Sender: owner-linux-mips@oss.sgi.com
On Mon, 11 Feb 2002, Geert Uytterhoeven wrote:

> The keyboard mid-layer assumes keycodes are in the range 1-127 (with some 
> minor
> hack 0 can be made to work, cfr. Amiga keboards). Bit 7 is used to
> differentiate between up and down events. This means you cannot get keyboards
> with more than 128 keys to work (e.g. some specialized keyboards for old
> workstations).

 But the raw scancode should be passed as is.  A brief look at
drivers/char/keyboard.c suggests it's doable without breaking anything. 

 Keycodes seem to be limited to 1 - 127, but it's not a problem -- LK
keyboards do not have that many keys.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


<Prev in Thread] Current Thread [Next in Thread>