Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why theres no wscons mapping “us.swapctrlcaps” for ADB keyboard?

ADB keyboard Mapping wscons
0
Posted

Why theres no wscons mapping “us.swapctrlcaps” for ADB keyboard?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.