Skip to content

Instantly share code, notes, and snippets.

@bertrandom
Created November 14, 2013 19:32
Show Gist options
  • Save bertrandom/7472898 to your computer and use it in GitHub Desktop.
Save bertrandom/7472898 to your computer and use it in GitHub Desktop.
KeyRemap4Macbook config to remap Caps Lock to Ctrl-Shift-Eject (Lock computer), after setting Caps Lock to PC Application Key with PCKeyboardHacks
<?xml version="1.0"?>
<root>
<item>
<name>CAPSLOCKTOLOCK</name>
<appendix>this is to remap caps lock to CtrlShiftEject</appendix>
<identifier>private.swap_capslock</identifier>
<autogen>
--KeyToKey--
KeyCode::PC_APPLICATION,
KeyCode::VK_CONSUMERKEY_EJECT, 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