Skip to content

Instantly share code, notes, and snippets.

@jackdoe
Created March 30, 2017 14:45
Show Gist options
  • Save jackdoe/5b486ccbb106657141687d6b30bd20da to your computer and use it in GitHub Desktop.
Save jackdoe/5b486ccbb106657141687d6b30bd20da to your computer and use it in GitHub Desktop.
hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000035,"HIDKeyboardModifierMappingDst":0x7000000e1}, {"HIDKeyboardModifierMappingSrc":0x700000064,"HIDKeyboardModifierMappingDst":0x700000035}]}'
# remap §(top left corner) to be `
# remap `(very weirdly positioned near left shift) to be left shift
# from http://www.usb.org/developers/hidpage/Hut1_12v2.pdf
# § - id 0x64
# left shift - id 0xe1
# ` - id 0x35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment