Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save bthemad/6d5b097fc512a1aa17fa to your computer and use it in GitHub Desktop.

Select an option

Save bthemad/6d5b097fc512a1aa17fa to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<root>
<item>
<name>Right-hand function key block to volume controls and eject</name>
<appendix>* PrintScreen to Eject</appendix>
<appendix>* ScrollLock to Volume Down</appendix>
<appendix>* Pause/Break to Volume Up</appendix>
<identifier>remap.pc_printscreen_scrolllock_pause_to_volume_controls_eject</identifier>
<autogen>__KeyToKey__ KeyCode::F12, ConsumerKeyCode::VOLUME_MUTE</autogen>
<autogen>__KeyToKey__ KeyCode::PC_PRINTSCREEN, ConsumerKeyCode::VOLUME_DOWN</autogen>
<autogen>__KeyToKey__ KeyCode::PC_SCROLLLOCK, ConsumerKeyCode::VOLUME_UP</autogen>
<autogen>__KeyToKey__ KeyCode::PC_PAUSE, ConsumerKeyCode::EJECT</autogen>
</item>
<item>
<name>Microsoft Sculpt Comfort buttons to back/forward</name>
<identifier>com.microsoft.mouse.sculpt_comfort.back_forth</identifier>
<autogen>__KeyToKey__ PointingButton::BUTTON4, KeyCode::BRACKET_LEFT, ModifierFlag::COMMAND_L</autogen>
<autogen>__KeyToKey__ KeyCode::OPTION_R, KeyCode::BRACKET_RIGHT, ModifierFlag::COMMAND_L</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment