Better HN
topnewbestaskshowjobs
Log inSign up

tim___

1 karma · joined Apr 29, 2024 (2y ago) · 2 submissions

Submissions

comment 2y ago · link · parent

Yeah 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-...)

comment 2y ago · link · parent

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}]}'