Skip to content

Instantly share code, notes, and snippets.

@SammyJames
Created May 4, 2014 13:37
Show Gist options
  • Save SammyJames/601ad18ca8fa5435d6b2 to your computer and use it in GitHub Desktop.
Save SammyJames/601ad18ca8fa5435d6b2 to your computer and use it in GitHub Desktop.
Key remap 4 macbook profile
<?xml version="1.0"?>
<root>
<item>
<name>Razer OSX</name>
<item>
<name>Razer Naga</name>
<identifier>private.razer_naga</identifier>
<autogen>__KeyToKey__ PointingButton::BUTTON4, KeyCode::BRACKET_LEFT, ModifierFlag::COMMAND_L</autogen>
<autogen>__KeyToKey__ PointingButton::BUTTON5, KeyCode::BRACKET_RIGHT, ModifierFlag::COMMAND_L</autogen>
</item>
<item>
<name>Razer Keyboard</name>
<identifier>private.razer_keyboard</identifier>
<autogen>__KeyToKey__ KeyCode::F1, ConsumerKeyCode::VOLUME_MUTE</autogen>
<autogen>__KeyToKey__ KeyCode::F2, ConsumerKeyCode::VOLUME_DOWN</autogen>
<autogen>__KeyToKey__ KeyCode::F3, ConsumerKeyCode::VOLUME_UP</autogen>
<autogen>__KeyToKey__ KeyCode::F5, ConsumerKeyCode::MUSIC_PREV</autogen>
<autogen>__KeyToKey__ KeyCode::F6, ConsumerKeyCode::MUSIC_PLAY</autogen>
<autogen>__KeyToKey__ KeyCode::F7, ConsumerKeyCode::MUSIC_NEXT</autogen>
<autogen>__KeyToKey__ KeyCode::F9, ConsumerKeyCode::BRIGHTNESS_DOWN</autogen>
<autogen>__KeyToKey__ KeyCode::F10, ConsumerKeyCode::BRIGHTNESS_UP</autogen>
<autogen>__KeyToKey__ KeyCode::F11, ConsumerKeyCode::KEYBOARDLIGHT_LOW</autogen>
<autogen>__KeyToKey__ KeyCode::F12, ConsumerKeyCode::KEYBOARDLIGHT_HIGH</autogen>
</item>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment