Why theres no wscons mapping “us.swapctrlcaps” for ADB keyboard?
ADB keyboard generates weird key code — it generates a key code when it gets pressed then released (= caps lock set), and another key code when it gets pressed and released (= caps lock released). In the kernel code sys/arch/macppc/dev/akbd.c the weird key code gets translated into wscons key code. Because of this weirdness, the best result we will be able to get is, unfortunately, a locking control key. On NetBSD-current (1.6A or later), options CAPS_IS_CONTROL will hardcode capslock key into control key. (Even with weird LED behavior it should be useful.
Related Questions
- If I chose to edit an existing keyboard mapping, can I save the changes to another keyboard map, or does it automatically save the changes to the file I used?
- Can I set up a keyboard mapping for the Secure ITaP Mainframe Hostexplorer application?
- Why theres no wscons mapping "us.swapctrlcaps" for ADB keyboard?