Last active
January 3, 2016 04:39
-
-
Save JunichiIto/8410166 to your computer and use it in GitHub Desktop.
My KeyRemap4MacBook's private.xml for Topre RealForce 87U and RubyMine.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<devicevendordef> | |
<vendorname>TopreCorporation</vendorname> | |
<vendorid>0x0853</vendorid> | |
</devicevendordef> | |
<appdef> | |
<appname>RubyMine</appname> | |
<equal>com.jetbrains.rubymine</equal> | |
</appdef> | |
<item> | |
<name>For Topre Keyboards</name> | |
<item> | |
<name>Set Command to Option</name> | |
<appendix>RealForceのWindowsキー(Commandキー)をMacのOption/Altキーに置き換える</appendix> | |
<identifier>private.topre.set_command_to_option</identifier> | |
<device_only>DeviceVendor::TopreCorporation</device_only> | |
<autogen>__KeyToKey__ KeyCode::COMMAND_L, KeyCode::OPTION_L</autogen> | |
<autogen>__KeyToKey__ KeyCode::COMMAND_R, KeyCode::OPTION_R</autogen> | |
</item> | |
<item> | |
<name>Set Option to Command and EISUU/KANA</name> | |
<appendix>RealForceのAltキー(Optionキー)をMacのCommandキーに置き換える (空打ち時は英数/かな切替)</appendix> | |
<identifier>private.topre.set_option_to_command_and_eisuu_kana</identifier> | |
<device_only>DeviceVendor::TopreCorporation</device_only> | |
<autogen>__KeyOverlaidModifier__ KeyCode::OPTION_L, KeyCode::COMMAND_L, KeyCode::JIS_EISUU</autogen> | |
<autogen>__KeyOverlaidModifier__ KeyCode::OPTION_R, KeyCode::COMMAND_R, KeyCode::JIS_KANA</autogen> | |
</item> | |
<item> | |
<name>Set Function to Special Feature (Except for RubyMine)</name> | |
<appendix>RealForceのF1-F12キーにMacの画面の輝度調整機能等を割り当てる (ただしRubyMine以外)</appendix> | |
<identifier>private.topre.set_function_to_special_feature</identifier> | |
<device_only>DeviceVendor::TopreCorporation</device_only> | |
<not>RubyMine</not> | |
<autogen>--KeyToConsumer-- KeyCode::F1, ConsumerKeyCode::BRIGHTNESS_DOWN</autogen> | |
<autogen>--KeyToConsumer-- KeyCode::F2, ConsumerKeyCode::BRIGHTNESS_UP</autogen> | |
<autogen>--KeyToKey-- KeyCode::F3, KeyCode::MISSION_CONTROL</autogen> | |
<autogen>--KeyToKey-- KeyCode::F4, KeyCode::LAUNCHPAD</autogen> | |
<autogen>--KeyToConsumer-- KeyCode::F5, ConsumerKeyCode::KEYBOARDLIGHT_LOW</autogen> | |
<autogen>--KeyToConsumer-- KeyCode::F6, ConsumerKeyCode::KEYBOARDLIGHT_HIGH</autogen> | |
<autogen>--KeyToConsumer-- KeyCode::F7, ConsumerKeyCode::MUSIC_PREV</autogen> | |
<autogen>--KeyToConsumer-- KeyCode::F8, ConsumerKeyCode::MUSIC_PLAY</autogen> | |
<autogen>--KeyToConsumer-- KeyCode::F9, ConsumerKeyCode::MUSIC_NEXT</autogen> | |
<autogen>--KeyToConsumer-- KeyCode::F10, ConsumerKeyCode::VOLUME_MUTE</autogen> | |
<autogen>--KeyToConsumer-- KeyCode::F11, ConsumerKeyCode::VOLUME_DOWN</autogen> | |
<autogen>--KeyToConsumer-- KeyCode::F12, ConsumerKeyCode::VOLUME_UP</autogen> | |
</item> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment