Last active
October 11, 2015 16:47
-
-
Save tacahiroy/3888681 to your computer and use it in GitHub Desktop.
A Configuration file of the KeyRemap4MacBook for Topre Realforce 87U, MBA and MBP
This file contains hidden or 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> | |
| <!-- Devices --> | |
| <devicevendordef> | |
| <vendorname>TopreCorporation</vendorname> | |
| <vendorid>0x853</vendorid> | |
| </devicevendordef> | |
| <deviceproductdef> | |
| <productname>Realforce87</productname> | |
| <productid>0x111</productid> | |
| </deviceproductdef> | |
| <deviceproductdef> | |
| <productname>Realforce86</productname> | |
| <productid>0x10e</productid> | |
| </deviceproductdef> | |
| <devicevendordef> | |
| <vendorname>AppleInc</vendorname> | |
| <vendorid>0x5ac</vendorid> | |
| </devicevendordef> | |
| <deviceproductdef> | |
| <productname>AppleKeyboardMBA</productname> | |
| <productid>0x24c</productid> | |
| </deviceproductdef> | |
| <deviceproductdef> | |
| <productname>AppleKeyboardMBP</productname> | |
| <productid>0x245</productid> | |
| </deviceproductdef> | |
| <!-- apps --> | |
| <appdef> | |
| <appname>Finder</appname> | |
| <equal>com.apple.finder</equal> | |
| </appdef> | |
| <appdef> | |
| <appname>Terminal</appname> | |
| <equal>com.apple.Terminal</equal> | |
| <equal>iTerm</equal> | |
| <equal>com.googlecode.iterm2</equal> | |
| </appdef> | |
| <appdef> | |
| <appname>Eclipse</appname> | |
| <equal>org.eclipse.eclipse</equal> | |
| </appdef> | |
| <item> | |
| <name>Topre Realforce</name> | |
| <item> | |
| <name>Swap Options and Commands</name> | |
| <identifier>private.deviceproductdef.topre.swap_option_and_command</identifier> | |
| <device_only>DeviceVendor::TopreCorporation</device_only> | |
| <autogen>--KeyToKey-- KeyCode::OPTION_L, KeyCode::COMMAND_L</autogen> | |
| <autogen>--KeyToKey-- KeyCode::COMMAND_L, KeyCode::OPTION_L</autogen> | |
| <autogen>--KeyToKey-- KeyCode::OPTION_R, KeyCode::COMMAND_R</autogen> | |
| <autogen>--KeyToKey-- KeyCode::COMMAND_R, KeyCode::OPTION_R</autogen> | |
| </item> | |
| <item> | |
| <name>Apply Volume Controls (87)</name> | |
| <identifier>private.deviceproductdef.topre.apply_volume_controls_realforce87</identifier> | |
| <device_only>DeviceVendor::TopreCorporation, DeviceProduct::Realforce87</device_only> | |
| <autogen>--KeyToConsumer-- KeyCode::F13, ConsumerKeyCode::VOLUME_MUTE</autogen> | |
| <autogen>--KeyToConsumer-- KeyCode::PC_KEYPAD_NUMLOCK, ConsumerKeyCode::VOLUME_DOWN</autogen> | |
| <autogen>--KeyToConsumer-- KeyCode::PC_PAUSE, ConsumerKeyCode::VOLUME_UP</autogen> | |
| </item> | |
| <item> | |
| <name>Apply Volume Controls (86)</name> | |
| <identifier>private.deviceproductdef.topre.apply_volume_controls_realforce86</identifier> | |
| <device_only>DeviceVendor::TopreCorporation, DeviceProduct::Realforce86</device_only> | |
| <autogen>--KeyToConsumer-- KeyCode::F13, ConsumerKeyCode::VOLUME_MUTE</autogen> | |
| <autogen>--KeyToConsumer-- KeyCode::PC_SCROLLLOCK, ConsumerKeyCode::VOLUME_DOWN</autogen> | |
| <autogen>--KeyToConsumer-- KeyCode::PC_PAUSE, ConsumerKeyCode::VOLUME_UP</autogen> | |
| </item> | |
| <item> | |
| <name>App to Option (86)</name> | |
| <identifier>private.deviceproductdef.topre.app_to_option_realforce86</identifier> | |
| <device_only>DeviceVendor::TopreCorporation, DeviceProduct::Realforce86</device_only> | |
| <autogen>--KeyToKey-- KeyCode::PC_APPLICATION, KeyCode::OPTION_R</autogen> | |
| </item> | |
| <item> | |
| <name>Home/End</name> | |
| <identifier>private.deviceproductdef.topre.home_end</identifier> | |
| <device_only>DeviceVendor::TopreCorporation</device_only> | |
| <autogen>--KeyToKey-- KeyCode::HOME, KeyCode::CURSOR_LEFT, VK_COMMAND</autogen> | |
| <autogen>--KeyToKey-- KeyCode::END, KeyCode::CURSOR_RIGHT, VK_COMMAND</autogen> | |
| </item> | |
| </item> | |
| <item> | |
| <name>MacBook Pro/Air</name> | |
| <item> | |
| <name>Option_R to Control</name> | |
| <identifier>private.deviceproductdef.apple</identifier> | |
| <device_only>DeviceVendor::AppleInc, DeviceProduct::AppleKeyboardMBA, | |
| DeviceVendor::AppleInc, DeviceProduct::AppleKeyboardMBP | |
| </device_only> | |
| <not>Finder</not> | |
| <autogen>--KeyToKey-- KeyCode::OPTION_R, KeyCode::CONTROL_L</autogen> | |
| </item> | |
| </item> | |
| <!-- app specific --> | |
| <item> | |
| <name>App specific</name> | |
| <item> | |
| <name>Emulate MacUIM Vi co-operative mode</name> | |
| <identifier>private.appdef.iterm</identifier> | |
| <only>Terminal</only> | |
| <autogen>--KeyToKey-- | |
| KeyCode::BRACKET_LEFT, ModifierFlag::CONTROL_L, | |
| KeyCode::ESCAPE | |
| </autogen> | |
| </item> | |
| <item> | |
| <name>Forward Delete</name> | |
| <identifier>private.appdef.eclipse</identifier> | |
| <only>Eclipse</only> | |
| <autogen>--KeyToKey-- | |
| KeyCode::DELETE, VK_COMMAND, | |
| KeyCode::FORWARD_DELETE | |
| </autogen> | |
| </item> | |
| </item> | |
| </root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment