Hacker News new | ask | show | jobs
by joeyagreco 423 days ago
The best way to do it!

I have a file that sets my MacOS Defaults: https://github.com/joeyagreco/dotfiles/blob/main/.macos

And a file to remap some keys: https://github.com/joeyagreco/dotfiles/blob/main/.macos_key_...

And apply the remaps: https://github.com/joeyagreco/dotfiles/blob/b5b819c9bcde2e3a...

2 comments

Interesting! Do you know how to convert com.local.KeyRemapping.plist to the JSON format you used for remapping keys?
Why are macOS keyscan codes 11 digits long?
Probably modifiers in the binary number, where a specific bit means something. That gives very large numbers in the end.