Skip to content

Instantly share code, notes, and snippets.

@stattrak-dragonlore
Created April 19, 2013 03:18
Show Gist options
  • Save stattrak-dragonlore/5417883 to your computer and use it in GitHub Desktop.
Save stattrak-dragonlore/5417883 to your computer and use it in GitHub Desktop.
My private.xml for KeyRemap4MacBook dota key remap and command_r to option_r
<?xml version="1.0"?>
<root>
<appdef>
<appname>WARCRAFTIII</appname>
<equal>com.blizzard.WarcraftIII</equal>
</appdef>
<item>
<name>My custom keys for Dota items</name>
<only>WARCRAFTIII</only>
<identifier>private.dota_keyboard_remap_1</identifier>
<autogen>__KeyToKey__ KeyCode::SPACE, KeyCode::KEYPAD_7</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_3, KeyCode::KEYPAD_8</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_4, KeyCode::KEYPAD_4</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_5, KeyCode::KEYPAD_5</autogen>
</item>
<item>
<name>COM_R_2_OPT_R</name>
<not>EMACS</not>
<identifier>private.command_r_to_option_r</identifier>
<autogen>__KeyToKey__ KeyCode::COMMAND_R, KeyCode::OPTION_R</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment