Created
July 13, 2015 18:54
-
-
Save sqe/b6f19a7cac1d2eca58f4 to your computer and use it in GitHub Desktop.
Music / Volume controls to CTRL + 7 8 9 0 - =
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Media Keys to CTRL numbers</name> | |
<item> | |
<name>Media Controls to CTRL 7-9</name> | |
<appendix>* Play/Pause to CTRL+9</appendix> | |
<appendix>* Previous to CTRL+7</appendix> | |
<appendix>* Next to CTRL+8</appendix> | |
<identifier>remap.musiccontrols_to_CTRL_7_CTRL_9</identifier> | |
<autogen>__KeyToKey__ KeyCode::KEY_9, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, ConsumerKeyCode::MUSIC_PLAY</autogen> | |
<autogen>__KeyToKey__ KeyCode::KEY_7, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, ConsumerKeyCode::MUSIC_PREV</autogen> | |
<autogen>__KeyToKey__ KeyCode::KEY_8, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, ConsumerKeyCode::MUSIC_NEXT</autogen> | |
</item> | |
<item> | |
<name>Speaker Controls to CTRL+0-CTRL+EQUAL</name> | |
<appendix>* Volume Mute to CTRL+0</appendix> *** | |
<appendix>* Volume Down to CTRL+MINUS</appendix> | |
<appendix>* Volume Up to CTRL+EQUAL</appendix> | |
<identifier>remap.speaker_to_CTRL_0_CTRL_EQUAL</identifier> | |
<autogen>__KeyToConsumer__ KeyCode::KEY_0, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, ConsumerKeyCode::VOLUME_MUTE</autogen> | |
<autogen>__KeyToConsumer__ KeyCode::MINUS, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, ConsumerKeyCode::VOLUME_DOWN</autogen> | |
<autogen>__KeyToConsumer__ KeyCode::EQUAL, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, ConsumerKeyCode::VOLUME_UP</autogen> | |
</item> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment