Skip to content

Instantly share code, notes, and snippets.

@KL-7
Created October 31, 2015 21:48
Show Gist options
  • Save KL-7/76be1f6d991efba9dea7 to your computer and use it in GitHub Desktop.
Save KL-7/76be1f6d991efba9dea7 to your computer and use it in GitHub Desktop.
Karabiner
<?xml version="1.0"?>
<root>
<item>
<name>Music Controls to Cmd + F13,F14,F15</name>
<appendix>* Music Prev to Cmd+F13</appendix>
<appendix>* Music Play/Pause to Cmd+F14</appendix>
<appendix>* Music Next to Cmd+F15</appendix>
<identifier>remap.consumer_to_cmd_fkeys_f13</identifier>
<autogen>__KeyToKey__ KeyCode::F13, ModifierFlag::COMMAND_L, ConsumerKeyCode::MUSIC_PREV</autogen>
<autogen>__KeyToKey__ KeyCode::F14, ModifierFlag::COMMAND_L, ConsumerKeyCode::MUSIC_PLAY</autogen>
<autogen>__KeyToKey__ KeyCode::F15, ModifierFlag::COMMAND_L, ConsumerKeyCode::MUSIC_NEXT</autogen>
</item>
<item>
<name>Speaker Controls to F13,F14,F15</name>
<appendix>* Volume Down to F13</appendix>
<appendix>* Volume Mute to F14</appendix>
<appendix>* Volume Up to F15</appendix>
<identifier>remap.consumer_to_fkeys_f13</identifier>
<autogen>__KeyToKey__ KeyCode::F13, ConsumerKeyCode::VOLUME_DOWN</autogen>
<autogen>__KeyToKey__ KeyCode::F14, ConsumerKeyCode::VOLUME_MUTE</autogen>
<autogen>__KeyToKey__ KeyCode::F15, ConsumerKeyCode::VOLUME_UP</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment