Hacker News new | ask | show | jobs
by myrandomcomment 1919 days ago
Cap locks should be control the way god intended it! :)

You can use the hidutil if you want to script changes yourself:

https://developer.apple.com/library/archive/technotes/tn2450...

Or Karabiner Elements:

https://github.com/pqrs-org/Karabiner-Elements/blob/master/R...

I have an Filco Japanese keyboard and the default settings on macOS even when the keyboard is set to Japanese (QWERTY JIS) gets the 英数 (alphanumeric) key, and かな (kana) key wrong (and they are supported on the built in laptop keyboard).

2 comments

Word of warning: hidutil keeps the caps lock delay, so you’ll miss short presses. This drove me mad until I figured it out but by then Karabiner had thankfully been updated for the new OS.
you can do both! (on a mac at least) I remap caps lock to escape using keyboard prefpane, then use karabiner to make it ctrl if used with another key.

press it by itself, escape.

press it and a, ctrl-a

perfect!