Skip to content

Instantly share code, notes, and snippets.

@mbaltrusitis
Created March 9, 2015 20:35
Show Gist options
  • Save mbaltrusitis/b5d0fc563d8e02b6fec7 to your computer and use it in GitHub Desktop.
Save mbaltrusitis/b5d0fc563d8e02b6fec7 to your computer and use it in GitHub Desktop.
CODE Keyboard Karabiner Settings
<item>
<name>CODE/WASD Keyboard Media Keys (Mac)</name>
<appendix>This will bind CODE/WASD the printed values on the media keys to their actual software function.
* Insert : Pause / Play
* Delete : Previous SOng
* End : Next Song
* Pause : Mute Volume
* Page Up : Volume Up
* Page Down : Volume Down
</appendix>
<identifier>private.special_keys_to_media</identifier>
<autogen>__KeyToKey__ KeyCode::PAGEUP, ConsumerKeyCode::VOLUME_UP</autogen>
<autogen>__KeyToKey__ KeyCode::PAGEDOWN, ConsumerKeyCode::VOLUME_DOWN</autogen>
<autogen>__KeyToKey__ KeyCode::END, ConsumerKeyCode::MUSIC_NEXT</autogen>
<autogen>__KeyToKey__ KeyCode::HELP, ConsumerKeyCode::MUSIC_PLAY</autogen>
<autogen>__KeyToKey__ KeyCode::FORWARD_DELETE, ConsumerKeyCode::MUSIC_PREV</autogen>
<autogen>__KeyToKey__ KeyCode::F15, ConsumerKeyCode::VOLUME_MUTE</autogen>
</item>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment