Subject: Re: Type 3 (?) keyboards
To: None <>
From: Gordon W. Ross <>
List: port-sun3
Date: 04/03/1996 11:16:17
> Date: Wed, 3 Apr 96 01:25 EST
> From: Mike Frisch <>

> At 10:49 PM 4/2/96 EST, Gordon W. Ross wrote:
> >The new keyboard driver (sys/dev/sun/kbd.c) knows about the "extra"
> >keys on later keyboards, but the sparc port uses an older driver.
> >I (or someone) should try the new z8530 driver on the sparc...
>         Does this new code add support for the R8, R10, R12, R14 keys (arrow
> keys on far right of Type3 keyboard)?  This is one thing that really annoys
> me about NetBSD/sparc.

Yes, the "keypad arrows" work on the type 3 and type 4.

It would be fairly easy to customize the support for the "type 5"
keyboard (the PC-style one) so the new arrow keys work, but for now,
the type 5 is treated as a type 4.  You could also use the KIOCSKEY
ioctl to set translations where they are missing.  On the type 5,
the "new arrows" are codes: up=20, left=24, down=27, right=28.