Subject: Re: us.swapctrlcaps keymap
To: None <itojun@iijlab.net>
From: Ian Piumarta <ian.piumarta@inria.fr>
List: port-macppc
Date: 06/14/2002 16:57:19
Oops, I got this the wrong way round...

On Fri, 14 Jun 2002, Ian Piumarta wrote:
> I'm fairly sure that ADB keyboards can't use CAPSLOCK for CTRL.  The
> hardware generates two events (down + up) when LOCK is pressed, and two
> more (down + up) again when it's released.  (I spent days staring at and
> modifying ADB and CUDA code a few years ago, and came to the conclusion
> that there's nothing that software can do to turn this off.)

The hardware generates one event for each cycle of the LOCK key (press +
release => down; press + release => up).  It's the ADB code that converts
each of the down and up events into a pair of press/release events (so
that console drivers and X servers don't get totally confused).  The
problem remains though: the nearest you can get to mapping CTRL onto LOCK
is a CTRL key that locks (just like the LOCK behaviour).  Not very useful.

Sorry for the (my) confusion.

Ian