Skip to content

Instantly share code, notes, and snippets.

@mrpollo
Last active February 1, 2016 21:41
Show Gist options
  • Save mrpollo/f27e00e122ce8bda0ed0 to your computer and use it in GitHub Desktop.
Save mrpollo/f27e00e122ce8bda0ed0 to your computer and use it in GitHub Desktop.
karabiner config file for the Quickfire Rapid I
<?xml version="1.0"?>
<root>
<deviceproductdef>
<productname>
QUICKFIRE_RAPID_I
</productname>
<productid>
0x0020
</productid>
</deviceproductdef>
<item>
<name>Windows is Mac</name>
<identifier>rroche.windows_is_mac</identifier>
<device_only>DeviceVendor::Cooler_Master, DeviceProduct::QUICKFIRE_RAPID_I</device_only>
<autogen>
__KeyToKey__
KeyCode::OPTION_L, KeyCode::COMMAND_L
</autogen>
</item>
<item>
<name>Mac is Windows</name>
<identifier>rroche.mac_is_windows</identifier>
<device_only>DeviceVendor::Cooler_Master, DeviceProduct::QUICKFIRE_RAPID_I</device_only>
<autogen>
__KeyToKey__
KeyCode::COMMAND_L, KeyCode::OPTION_L
</autogen>
</item>
<item>
<name>Mac is Windows Right</name>
<identifier>rroche.mac_is_windows_right</identifier>
<device_only>DeviceVendor::Cooler_Master, DeviceProduct::QUICKFIRE_RAPID_I</device_only>
<autogen>
__KeyToKey__
KeyCode::OPTION_R, KeyCode::COMMAND_R
</autogen>
</item>
<item>
<name>Sleep!</name>
<identifier>rroche.sleep</identifier>
<device_only>DeviceVendor::Cooler_Master, DeviceProduct::QUICKFIRE_RAPID_I</device_only>
<autogen>
__KeyToKey__
KeyCode::F13, KeyCode::CONTROL_L | ModifierFlag::SHIFT_L,
ConsumerKeyCode::EJECT, KeyCode::CONTROL_L | ModifierFlag::SHIFT_L
</autogen>
</item>
<item>
<name>Next media</name>
<identifier>rroche.next-media</identifier>
<device_only>DeviceVendor::Cooler_Master, DeviceProduct::QUICKFIRE_RAPID_I</device_only>
<autogen>
__KeyToKey__
KeyCode::HOME, ModifierFlag::FN,
ConsumerKeyCode::MUSIC_NEXT
</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment