Skip to content

Instantly share code, notes, and snippets.

@YungSang
Created January 20, 2013 00:54
Show Gist options
  • Save YungSang/4576084 to your computer and use it in GitHub Desktop.
Save YungSang/4576084 to your computer and use it in GitHub Desktop.
The private.xml for KeyRemap4MacBook to remap Caps Lock to Hyper (Control + Shift + Option + Command). First, you need to disable Caps Lock through Keyboard Preference and remap Caps Lock to PC Application(keycode:110) using PCKeybaordHack.
<?xml version="1.0"?>
<root>
<item>
<name>Remap PC Application to Hyper</name>
<appendix>OS X doesn't have a Hyper. This maps PC Application to Control + Shift + Option + Command.</appendix>
<identifier>pc_application_to_hyper</identifier>
<autogen>
--KeyToKey--
KeyCode::PC_APPLICATION,
KeyCode::COMMAND_L,
ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L
</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment