Skip to content

pengelana/OSXKeyRemap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OSXKeyRemap

Remapping OSX Keyboard: https://developer.apple.com/library/archive/technotes/tn2450/_index.html

How to

Key id Map to id
Right ⌥ Option 0xE6 Right Ctrl 0xE4
Caps lock 0x39 ESC 0x29
hidutil property --set '{"UserKeyMapping":[
    {"HIDKeyboardModifierMappingSrc":0x7000000E6,"HIDKeyboardModifierMappingDst":0x7000000E4},
    {"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x700000029}]}'

Keyboard

git clone https://github.com/pengelana/OSXKeyRemap.git

sudo cp OSXKeyRemap/keyboard.sh /usr/local/bin/

cp OSXKeyRemap/local.keyboard.plist ~/Library/LaunchAgents/local.keyboard.plist

Reboot Mac

Key Table

table