New input layer and ADB (Was Re: CONFIG_PPC != Mac)
Geert Uytterhoeven
geert at linux-m68k.org
Thu Aug 3 21:52:26 EST 2000
On Thu, 3 Aug 2000, Michael Schmitz wrote:
> > > Sometimes after a console switch, I end up in capslock mode. Switching
> > > capslock on then gives lowercase letters (except the letter "L"). After
> > > a further console switch, things return to normal.
> >
> > That's normal. With PC keyboards, the LED state of the Caps Lock key is
> > controlled by Linux, while Mac (and Amiga) keyboards remember the Caps Lock
> > state in the keyboard. Hence if you do a VC switch to a VC where Caps Lock is
>
> Wrong for Mac. We explicitly set LED state from the keyboard bottom half
> if necessary (though it stopped working consistently sometime in 2.1
> IIRC).
IIRC, the only (borrowed) ADB keyboard I ever connected to my CHRP box (when I
used Xpmac) had no Caps Lock LED, but a mechanical Caps Lock indicator (key
stays up or down). I'm afraid you can control those mechanics by software :-)
> The CapsLock on ADB keyboards is worth a million laughs actually. It
> is sticky by hardware, and never sends a key up event, only key down. See
> mac_keyb.c.
I know, cfr. amikeyb.c :-)
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list