Skip to content

Instantly share code, notes, and snippets.

@hisaya
Last active December 15, 2015 09:29
Show Gist options
  • Save hisaya/5238772 to your computer and use it in GitHub Desktop.
Save hisaya/5238772 to your computer and use it in GitHub Desktop.
<item>
<name>Change input source to Unicode Hex Input while you are holding down right option key.</name>
<appendix>16進4桁の手打ち用、OPTION_Rを残す</appendix>
<identifier>remap.change_input_source_temporary_unicode_hex_input_option_r</identifier>
<autogen>
__KeyToKey__
KeyCode::OPTION_R,
KeyCode::OPTION_R,
Option::KEYTOKEY_BEFORE_KEYDOWN, KeyCode::VK_CHANGE_INPUTSOURCE_UNICODEHEXINPUT, KeyCode::VK_WAIT_100MS,
Option::KEYTOKEY_AFTER_KEYUP, KeyCode::SPACE, ModifierFlag::COMMAND_L, KeyCode::VK_WAIT_100MS,
</autogen>
</item>
<item>
<name>Change input source to Unicode Hex Input while you are holding down right option key.</name>
<appendix>KeyToKey用、OPTION_Rを落とす</appendix>
<identifier>remap.change_input_source_temporary_unicode_hex_input_option_r2</identifier>
<autogen>
__KeyToKey__
KeyCode::OPTION_R,
KeyCode::VK_NONE,
Option::KEYTOKEY_BEFORE_KEYDOWN, KeyCode::VK_CHANGE_INPUTSOURCE_UNICODEHEXINPUT, KeyCode::VK_WAIT_100MS,
Option::KEYTOKEY_AFTER_KEYUP, KeyCode::SPACE, ModifierFlag::COMMAND_L, KeyCode::VK_WAIT_100MS,
</autogen>
</item>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment