Skip to content

Instantly share code, notes, and snippets.

@hunje
Created July 19, 2016 06:55
Show Gist options
  • Save hunje/28036248c696e0c49acd2a5f8d8e5900 to your computer and use it in GitHub Desktop.
Save hunje/28036248c696e0c49acd2a5f8d8e5900 to your computer and use it in GitHub Desktop.
Topre Realforce 87U for OSX
<?xml version="1.0"?>
<root>
<name>Topre Realforce87UB</name>
<devicevendordef>
<vendorname>TOPRE</vendorname>
<vendorid>0x0853</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>Realforce87</productname>
<productid>0x0111</productid>
</deviceproductdef>
<item>
<name>Topre Realforce 87U Swap Alt, Command </name>
<identifier>private.deviceproductdef</identifier>
<device_only>DeviceVendor::TOPRE, DeviceProduct::Realforce87</deviceonly>
<autogen>__KeyToKey__ KeyCode::COMMAND_L, KeyCode::OPTION_L</autogen>
<autogen>__KeyToKey__ KeyCode::COMMAND_R, KeyCode::OPTION_R</autogen>
<autogen>__KeyToKey__ KeyCode::OPTION_L, KeyCode::COMMAND_L</autogen>
<autogen>__KeyToKey__ KeyCode::OPTION_R, KeyCode::COMMAND_R</autogen>
</item>
</root>
@yangxin0
Copy link

yangxin0 commented Oct 7, 2020

hi hunje,

could you tell how to use your xml please.

@hunje
Copy link
Author

hunje commented Oct 7, 2020

hi there.
This file is the configuration file of Karabiner which is old version of Karabiner Elements.
I think you don't need this xml anymore. Just use Karabiner Elements, if you are using RealForce 87u on macOS not Realforce for Mac.

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