3 ms·
There is a builtin utility for this on Macs with a few ways to configure. This is the commandline arg to remap caps lock to backspace hidutil property --set '
by tim___ 2y ago
There is a builtin utility for this on Macs with a few ways to configure. This is the commandline arg to remap caps lock to backspace
hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x70000002A}]}'
- eviks 2y agoOut of curiosity, is this approach flawless? Does it work always, in every app, including login screen?
- tim___ 2y agoYeah it does. You can create a config file that persists the mapping on reboots (described in depth here https://rakhesh.com/mac/using-hidutil-to-map-macos-keyboard-keys/ https://rakhesh.com/mac/using-hidutil-to-map-macos-keyboard-...)