Skip to content

Instantly share code, notes, and snippets.

@tjarksaul
Created November 28, 2024 09:33
Show Gist options
  • Save tjarksaul/853ddf3f9a1f5f7915702dffca55de82 to your computer and use it in GitHub Desktop.
Save tjarksaul/853ddf3f9a1f5f7915702dffca55de82 to your computer and use it in GitHub Desktop.
Map right control key to option on Keychron K3
#!/bin/sh
hidutil property --matching '{"ProductID": 0x250}' --set '{"UserKeyMapping":[\
{\
"HIDKeyboardModifierMappingSrc": 0x7000000E4,\
"HIDKeyboardModifierMappingDst": 0x7000000E6\
}\
]}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment