> > iirc macppc ADB capslock code does some
trick to avoid weirdness of
> > capslock (to present proper keypress
signals to upper layer).
> > it was taken from netbsd
(sys/arch/macppc/dev/akbd.c, CAPS_IS_CONTROL).
> > if there's any mistake in the trick, it
should be corrected.
>
> I couldn't find any reference to CAPS_IS_CONTROL in
-current
> source tree.
#if CAPS_IS_CONTROL is in netbsd. openbsd code at this
moment has
tricky dances equivalent to when CAPS_IS_CONTROL enabled on
netbsd.
itojun
|