Created
April 5, 2017 15:53
-
-
Save ericychoi/5377923b1221c853bb457cd0b8754867 to your computer and use it in GitHub Desktop.
Karabiner-private.xml for mapping mouse forward/back buttons to next/prev space
This file contains hidden or 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> | |
| <identifier>private.button_4_next_space</identifier> | |
| <name>Mouse buttons to move spaces</name> | |
| <appendix>Mouse button 4 to next space</appendix> | |
| <autogen> | |
| __KeyToKey__ | |
| PointingButton::BUTTON4, | |
| KeyCode::CURSOR_RIGHT, ModifierFlag::COMMAND_L | ModifierFlag::CONTROL_L | |
| </autogen> | |
| <appendix>Mouse button 5 to previous space</appendix> | |
| <autogen> | |
| __KeyToKey__ | |
| PointingButton::BUTTON5, | |
| KeyCode::CURSOR_LEFT, ModifierFlag::COMMAND_L | ModifierFlag::CONTROL_L | |
| </autogen> | |
| </item> | |
| </root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment