Skip to content

Instantly share code, notes, and snippets.

@sudowork

sudowork/private.xml

Last active Jan 7, 2017
Embed
What would you like to do?
Karabiner private.xml configuration
<?xml version="1.0"?>
<root>
<devicevendordef>
<vendorname>YUBICO</vendorname>
<vendorid>0x1050</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>YUBIKEY_II</productname>
<productid>0x0010</productid>
</deviceproductdef>
<item>
<name>Yubikey: Colemak</name>
<identifier>remap.yubikey_colemak2qwerty</identifier>
<device_only>DeviceVendor::YUBICO,DeviceProduct::YUBIKEY_II</device_only>
<include path="/Applications/Karabiner.app/Contents/Resources/include/checkbox/keyboard_layouts/common/keypad_redefinition.xml" />
<autogen>__KeyToKey__ KeyCode::F, KeyCode::E</autogen>
<autogen>__KeyToKey__ KeyCode::P, KeyCode::R</autogen>
<autogen>__KeyToKey__ KeyCode::G, KeyCode::T</autogen>
<autogen>__KeyToKey__ KeyCode::J, KeyCode::Y</autogen>
<autogen>__KeyToKey__ KeyCode::L, KeyCode::U</autogen>
<autogen>__KeyToKey__ KeyCode::U, KeyCode::I</autogen>
<autogen>__KeyToKey__ KeyCode::Y, KeyCode::O</autogen>
<autogen>__KeyToKey__ KeyCode::R, KeyCode::S</autogen>
<autogen>__KeyToKey__ KeyCode::S, KeyCode::D</autogen>
<autogen>__KeyToKey__ KeyCode::T, KeyCode::F</autogen>
<autogen>__KeyToKey__ KeyCode::D, KeyCode::G</autogen>
<autogen>__KeyToKey__ KeyCode::N, KeyCode::J</autogen>
<autogen>__KeyToKey__ KeyCode::E, KeyCode::K</autogen>
<autogen>__KeyToKey__ KeyCode::I, KeyCode::L</autogen>
<autogen>__KeyToKey__ KeyCode::K, KeyCode::N</autogen>
<autogen>__KeyToKey__ KeyCode::O, KeyCode::SEMICOLON</autogen>
<autogen>__KeyToKey__ KeyCode::SEMICOLON, KeyCode::P</autogen>
</item>
<item>
<name>Yubikey: Dvorak</name>
<identifier>remap.yubikey_dvorak2qwerty</identifier>
<device_only>DeviceVendor::YUBICO,DeviceProduct::YUBIKEY_II</device_only>
<include path="/Applications/Karabiner.app/Contents/Resources/include/checkbox/keyboard_layouts/common/keypad_redefinition.xml" />
<autogen>__KeyToKey__ KeyCode::P, KeyCode::R</autogen>
<autogen>__KeyToKey__ KeyCode::Y, KeyCode::T</autogen>
<autogen>__KeyToKey__ KeyCode::F, KeyCode::Y</autogen>
<autogen>__KeyToKey__ KeyCode::G, KeyCode::U</autogen>
<autogen>__KeyToKey__ KeyCode::C, KeyCode::I</autogen>
<autogen>__KeyToKey__ KeyCode::R, KeyCode::O</autogen>
<autogen>__KeyToKey__ KeyCode::L, KeyCode::P</autogen>
<autogen>__KeyToKey__ KeyCode::O, KeyCode::S</autogen>
<autogen>__KeyToKey__ KeyCode::E, KeyCode::D</autogen>
<autogen>__KeyToKey__ KeyCode::U, KeyCode::F</autogen>
<autogen>__KeyToKey__ KeyCode::I, KeyCode::G</autogen>
<autogen>__KeyToKey__ KeyCode::D, KeyCode::H</autogen>
<autogen>__KeyToKey__ KeyCode::H, KeyCode::J</autogen>
<autogen>__KeyToKey__ KeyCode::T, KeyCode::K</autogen>
<autogen>__KeyToKey__ KeyCode::N, KeyCode::L</autogen>
<autogen>__KeyToKey__ KeyCode::Q, KeyCode::X</autogen>
<autogen>__KeyToKey__ KeyCode::J, KeyCode::C</autogen>
<autogen>__KeyToKey__ KeyCode::K, KeyCode::V</autogen>
<autogen>__KeyToKey__ KeyCode::X, KeyCode::B</autogen>
<autogen>__KeyToKey__ KeyCode::B, KeyCode::N</autogen>
<autogen>__KeyToKey__ KeyCode::W, KeyCode::COMMA</autogen>
<autogen>__KeyToKey__ KeyCode::V, KeyCode::DOT</autogen>
<autogen>__KeyToKey__ KeyCode::S, KeyCode::SEMICOLON</autogen>
<autogen>__KeyToKey__ KeyCode::DOT, KeyCode::E</autogen>
<autogen>__KeyToKey__ KeyCode::SLASH, KeyCode::Z</autogen>
<autogen>__KeyToKey__ KeyCode::QUOTE, KeyCode::Q</autogen>
<autogen>__KeyToKey__ KeyCode::COMMA, KeyCode::W</autogen>
<autogen>__KeyToKey__ KeyCode::SEMICOLON, KeyCode::Z</autogen>
<autogen>__KeyToKey__ KeyCode::BRACKET_LEFT, KeyCode::MINUS</autogen>
<autogen>__KeyToKey__ KeyCode::BRACKET_RIGHT, KeyCode::EQUAL</autogen>
<autogen>__KeyToKey__ KeyCode::SLASH, KeyCode::BRACKET_LEFT</autogen>
<autogen>__KeyToKey__ KeyCode::EQUAL, KeyCode::BRACKET_RIGHT</autogen>
<autogen>__KeyToKey__ KeyCode::MINUS, KeyCode::QUOTE</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment