Subject: Re: timeout updating leds with new keyboard
To: None <port-i386@NetBSD.ORG>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: port-i386
Date: 02/23/1997 10:52:59
>Totally unrelated, but could someone please tell me how to get to use
>the win'95 keyboard's menu buttons under X?  Would be nice to use them
>as hotkey qualifiers when starting up applications and tools..  I'm
>using fvwm95.  (Might be a good idea to use private mail as this really
>doesn't belong to this mailing list..)  Thanks.

(Not exactly an unrelated to i386 port usability issues...)

I'm very attached to the vt100 mapping of keys also.  Here is what I
did to turn a keytronics something-95 kbd into a usable kbd:

1) run xmodmap with this file as input.

    remove Lock    = Caps_Lock
    keycode 0x42 =	Control_L
    add    Control = Control_L
    keycode 0x16 =	Delete
    keycode 0x6B =	BackSpace
    keycode 0x31 =	Escape
    keycode 0x33 =	grave		asciitilde
    keycode 0x74 = backslash bar

2) using a small screwdriver, pry off the keycaps and swap.
   Unfortunately some of the keys, like bottom-row "picture" keys are
   1.5 units wide.  These can't be swapped. (What are these supposed
   to be pictures of anyway???)  As an interesting note, the kbd looks
   sculpted, but the sculpting isn't done with the keyscap heights.
   When you swap the caps you'll notice that they all sit just right!

I assume there is a translation table in the kernel that one can also
frob to get the correct key translations from an ascii login.  I've
never bothered to figure that out since I never use a getty-login for
the console.  I just run xdm and setup the kbd from Xsetup.

-wolfgang
-- 
Wolfgang Rupprecht    <wolfgang@wsrcc.com>     <http://www.wsrcc.com/>