Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



[swap left ctl and caps]

woods%most.weird.com@localhost said:
> One thing that wasn't clear to me from the patch was whether or not
> this "option" could be used in conjunction with other options.

Only mappings explicitely listed in
dev/pckbc/wskbdmap_mfii.c:pckbd_keydesctab[] can be set.
The mapping framework does not support orthogonal "options";
the supported mapping must make up a flat tree (with the maximum
depth of 10 iirc).
So if I wanted to have this swap on my LK461 (which would
be nonsense, but anyway), I had to add a line
KBD_MAP(KB_US|KB_DECLK|KB_SWAPCTRLCAPS, KB_US|KB_DECLK,
        pckbd_keydesc_swapctrlcaps),
to the table and it should work as far as the kernel is
concerned.
(Don't know about wsconsctl. Juergen?)

> the control key is equally awkward on many "national" keyboards
> that I've examined

So tell what these keyboards are and I'll add the lines.
(For the national keyboards, it would not need multiple
options. The "language" is an "encoding" property, not a
"variant". See wsksymdef.h.)

best regards
Matthias





Home | Main Index | Thread Index | Old Index