Skip to content

Instantly share code, notes, and snippets.

@ghawkgu
Created March 30, 2012 03:54
Show Gist options
  • Save ghawkgu/2246353 to your computer and use it in GitHub Desktop.
Save ghawkgu/2246353 to your computer and use it in GitHub Desktop.
Customized mapping rules for keyRemap4MacBook to switch input source by one touch
<?xml version="1.0"?>
<root>
<item>
<name>Switch Input Source</name>
<appendix>Use the right Option key to select the next input source</appendix>
<identifier>private.switch_input_source_with_right_option</identifier>
<autogen>--KeyToKey-- KeyCode::OPTION_R, KeyCode::SPACE, ModifierFlag::OPTION_L | ModifierFlag::COMMAND_L</autogen>
</item>
<item>
<name>Switch Input Source</name>
<appendix>Use the right Command key to select the next input source</appendix>
<identifier>private.switch_next_input_source_with_right_command</identifier>
<autogen>--KeyToKey-- KeyCode::COMMAND_R, KeyCode::SPACE, ModifierFlag::OPTION_L | ModifierFlag::COMMAND_L</autogen>
</item>
</root>
@ghawkgu
Copy link
Author

ghawkgu commented Mar 30, 2012

For detail information about this gist, please read this article .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment