Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Karabiner
<?xml version="1.0"?>
<root>
<devicevendordef>
<vendorname>CM_Storm</vendorname>
<vendorid>0x2516</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>QuickFire_TK</productname>
<productid>0x0011</productid>
</deviceproductdef>
<devicevendordef>
<vendorname>Dell</vendorname>
<vendorid>0x413c</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>KB212-B</productname>
<productid>0x2107</productid>
</deviceproductdef>
<item>
<name>Mac Function keys</name>
<identifier>private.quickfiretk.fixfunction</identifier>
<appendix>(EXPOSE_ALL to F3, LAUNCHPAD to F4)</appendix>
<device_only>
DeviceVendor::CM_Storm, DeviceProduct::QuickFire_TK,
DeviceVendor::Dell, DeviceProduct::KB212-B
</device_only>
<autogen>__KeyToConsumer__ KeyCode::F1, ConsumerKeyCode::BRIGHTNESS_DOWN</autogen>
<autogen>__KeyToConsumer__ KeyCode::F2, ConsumerKeyCode::BRIGHTNESS_UP</autogen>
<autogen>__KeyToKey__ KeyCode::F3, KeyCode::EXPOSE_ALL</autogen>
<autogen>__KeyToKey__ KeyCode::F4, KeyCode::LAUNCHPAD</autogen>
<autogen>__KeyToConsumer__ KeyCode::F5, ConsumerKeyCode::MUSIC_PLAY</autogen>
<autogen>__KeyToConsumer__ KeyCode::F6, ConsumerKeyCode::MUSIC_PLAY</autogen>
<autogen>__KeyToConsumer__ KeyCode::F7, ConsumerKeyCode::MUSIC_PREV</autogen>
<autogen>__KeyToConsumer__ KeyCode::F8, ConsumerKeyCode::MUSIC_NEXT</autogen>
<autogen>__KeyToConsumer__ KeyCode::F9, ConsumerKeyCode::VOLUME_MUTE</autogen>
<autogen>__KeyToConsumer__ KeyCode::F10, ConsumerKeyCode::VOLUME_DOWN</autogen>
<autogen>__KeyToConsumer__ KeyCode::F11, ConsumerKeyCode::VOLUME_UP</autogen>
</item>
<item>
<name>Quickfire TK Numpad</name>
<identifier>private.quickfiretk.numpad</identifier>
<device_only>DeviceVendor::CM_Storm, DeviceProduct::QuickFire_TK</device_only>
<autogen>
__KeyToKey__ KeyCode::KEYPAD_CLEAR, KeyCode::VK_IOHIKEYBOARD_TOGGLE_NUMLOCK
</autogen>
</item>
<item>
<name>Swap Command & Alt</name>
<identifier>private.quickfiretk.swap_cmd_alt</identifier>
<device_only>
DeviceVendor::CM_Storm, DeviceProduct::QuickFire_TK,
DeviceVendor::Dell, DeviceProduct::KB212-B
</device_only>
<autogen>
__KeyToKey__ KeyCode::COMMAND_L, KeyCode::OPTION_L
</autogen>
<autogen>
__KeyToKey__ KeyCode::OPTION_L, KeyCode::COMMAND_L
</autogen>
<autogen>
__KeyToKey__ KeyCode::COMMAND_R, KeyCode::OPTION_R
</autogen>
<autogen>
__KeyToKey__ KeyCode::OPTION_R, KeyCode::COMMAND_R
</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment