Skip to content

Instantly share code, notes, and snippets.

@rendon
Last active February 20, 2017 16:21
Show Gist options
  • Save rendon/73e532fe8b847e4078aa5943d2e314d6 to your computer and use it in GitHub Desktop.
Save rendon/73e532fe8b847e4078aa5943d2e314d6 to your computer and use it in GitHub Desktop.
Karabiner configuration file for my keyboard on Mac OS
<?xml version="1.0"?>
<root>
<item>
<name>My settings</name>
<identifier>private.mysettings</identifier>
<autogen>__KeyToKey__ KeyCode::D, ModifierFlag::COMMAND_L, ConsumerKeyCode::MUSIC_NEXT</autogen>
<autogen>__KeyToKey__ KeyCode::S, ModifierFlag::COMMAND_L, ConsumerKeyCode::MUSIC_PREV</autogen>
<autogen>__KeyToKey__ KeyCode::P, ModifierFlag::COMMAND_L, ConsumerKeyCode::MUSIC_PLAY</autogen>
<autogen>__KeyToKey__ KeyCode::EQUAL, ModifierFlag::COMMAND_L, ConsumerKeyCode::VOLUME_UP</autogen>
<autogen>__KeyToKey__ KeyCode::MINUS, ModifierFlag::COMMAND_L, ConsumerKeyCode::VOLUME_DOWN</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment