Create a gist now

Instantly share code, notes, and snippets.

@hmemcpy /private.xml Secret
Created Jun 22, 2016

What would you like to do?
Settings file for Karabiner
<?xml version="1.0"?>
<root>
<item>
<name>keyboard app key to option_r, windows button to button 5</name>
<autogen>__KeyToKey__ KeyCode::PC_APPLICATION, KeyCode::OPTION_R</autogen>
<autogen>__KeyToKey__ KeyCode::OPTION_R, KeyCode::EXPOSE_ALL</autogen>
</item>
<item>
<name>Application (Menu) key to Command_R</name>
<identifier>private.application_key_to_command_r</identifier>
<autogen>__KeyToKey__ KeyCode::PC_APPLICATION, KeyCode::COMMAND_R</autogen>
</item>
<item>
<name>Help (Insert) to Fn</name>
<identifier>private.insert_to_fn</identifier>
<autogen>__KeyToKey__ KeyCode::HELP, KeyCode::FN</autogen>
</item>
<item>
<name>Fn + F1 to Play/Pause Music</name>
<identifier>private.fn_f1_to_toggle_music</identifier>
<autogen>__KeyToKey__ KeyCode::F1, ModifierFlag::FN, KeyCode::VK_CONSUMERKEY_MUSIC_PLAY</autogen>
</item>
<item>
<name>Change F2 to Mute Audio</name>
<identifier>private.fn_f2_to_mute_audio</identifier>
<autogen>__KeyToKey__ KeyCode::F2, ModifierFlag::FN, KeyCode::VK_CONSUMERKEY_VOLUME_MUTE</autogen>
</item>
<item>
<name>Change F3 to Decrease Volume</name>
<identifier>private.fn_f3_to_decrease_volume</identifier>
<autogen>__KeyToKey__ KeyCode::F3, ModifierFlag::FN, KeyCode::VK_CONSUMERKEY_VOLUME_DOWN</autogen>
</item>
<item>
<name>Fn + F4 to Increase Volume</name>
<identifier>private.fn_f4_to_increase_volume</identifier>
<autogen>__KeyToKey__ KeyCode::F4, ModifierFlag::FN, KeyCode::VK_CONSUMERKEY_VOLUME_UP</autogen>
</item>
<item>
<name>Left ALT to COMMAND_L and vice versa</name>
<identifier>private.left_alt_to_command_l</identifier>
<autogen>__KeyToKey__ KeyCode::OPTION_L, KeyCode::COMMAND_L</autogen>
<autogen>__KeyToKey__ KeyCode::COMMAND_L, KeyCode::OPTION_L</autogen>
</item>
<item>
<name> Right ALT to COMMAND_R and application to OPTION_R</name>
<identifier>private.right_alt_to_command</identifier>
<autogen>__KeyToKey__ KeyCode::OPTION_R, KeyCode::COMMAND_R</autogen>
<autogen>__KeyToKey__ KeyCode::PC_APPLICATION, KeyCode::OPTION_R</autogen>
</item>
<item>
<name>map sculpt back button</name>
<identifier>remap.sculpt.backbutton</identifier>
<autogen>__KeyToKey__ PointingButton::BUTTON4, KeyCode::BRACKET_LEFT, ModifierFlag::COMMAND_L</autogen>
</item>
<item>
<name>Map start button on Sculpt mouse to mission control (expose)</name>
<identifier>remap.middle_mouse_to_mission_control</identifier>
<autogen>__KeyToKey__ KeyCode::COMMAND_R, KeyCode::EXPOSE_ALL</autogen>
</item>
<item>
<name>Map numpad keys to arrows not numbers</name>
<identifier>remap.numpad_keys_to_arrows</identifier>
<autogen>__KeyToKey__ KeyCode::KEYPAD_8, KeyCode::CURSOR_UP</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_2, KeyCode::CURSOR_DOWN</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_4, KeyCode::CURSOR_LEFT</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_6, KeyCode::CURSOR_RIGHT</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_0, KeyCode::T, ModifierFlag::CONTROL_L</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_7, KeyCode::HOME</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_9, KeyCode::PAGEUP</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_1, KeyCode::END</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_3, KeyCode::PAGEDOWN</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment