Skip to content

Instantly share code, notes, and snippets.

@KainokiKaede
Created February 11, 2014 04:58
Show Gist options
  • Save KainokiKaede/8929494 to your computer and use it in GitHub Desktop.
Save KainokiKaede/8929494 to your computer and use it in GitHub Desktop.
This is a private setting file for KeyRemap4MacBook. It changes Numpad 1, 4, 7, and Numlock keys to Option, Shift, Command, and Escape keys, respectively.
<?xml version="1.0"?>
<root>
<item>
<name>KainokiKaede Original Settings</name>
<item>
<name>DTM</name>
<item>
<name>Place Modifiers to Numpad</name>
<appendix>Numpad 1 to Option (KeyToKey)</appendix>
<appendix>Numpad 4 to Shift (KeyToKey)</appendix>
<appendix>Numpad 7 to Command (KeyToKey)</appendix>
<appendix>Numpad Numlock to Esc (KeyToKey)</appendix>
<identifier>private.remap.keypad_modifiers</identifier>
<autogen>__KeyToKey__ KeyCode::KEYPAD_1, KeyCode::OPTION_L</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_4, KeyCode::SHIFT_L</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_7, KeyCode::COMMAND_L</autogen>
<autogen>__KeyToKey__ KeyCode::PC_KEYPAD_NUMLOCK, KeyCode::ESCAPE</autogen>
</item>
</item>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment