Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
My Mouse Settings for Karabiner
<?xml version="1.0"?>
<root>
<item>
<name>My Mouse Settings</name>
<item>
<name>FFF Tilt Wheel to Back Forward (Command+[, Command+])</name>
<identifier>remap.my_tilt_wheel_to_back_forward</identifier>
<autogen>
__ScrollWheelToKey__ ScrollWheel::LEFT, ModifierFlag::NONE,
KeyCode::BRACKET_LEFT, ModifierFlag::COMMAND_L
</autogen>
<autogen>
__ScrollWheelToKey__ ScrollWheel::RIGHT, ModifierFlag::NONE,
KeyCode::BRACKET_RIGHT, ModifierFlag::COMMAND_L
</autogen>
</item>
<item>
<name>FFF Tilt Wheel to Tab Back Forward (Control+Shift+Tab, Control+Tab)</name>
<identifier>private.my_tilt_wheel_to_tab_back_forward</identifier>
<autogen>
__ScrollWheelToKey__ ScrollWheel::LEFT, ModifierFlag::NONE,
KeyCode::TAB, ModifierFlag::CONTROL_L | ModifierFlag::SHIFT_L
</autogen>
<autogen>
__ScrollWheelToKey__ ScrollWheel::RIGHT, ModifierFlag::NONE,
KeyCode::TAB, ModifierFlag::CONTROL_L
</autogen>
</item>
<item>
<name>FFF Button 4 5 to Back Forward</name>
<identifier>private.my_button_4_5_to_back_forward</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>FFF Button 4 5 to Tab Back Forward</name>
<identifier>private.my_button_4_5_to_tab_back_forward</identifier>
<autogen>
__KeyToKey__
PointingButton::BUTTON4,
KeyCode::TAB, ModifierFlag::CONTROL_L | ModifierFlag::SHIFT_L
</autogen>
<autogen>
__KeyToKey__
PointingButton::BUTTON5,
KeyCode::TAB, ModifierFlag::CONTROL_L
</autogen>
</item>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment