Skip to content

Instantly share code, notes, and snippets.

@ShingoFukuyama
Created June 28, 2015 12:54
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ShingoFukuyama/d8757fb7413aacfd469b to your computer and use it in GitHub Desktop.
Save ShingoFukuyama/d8757fb7413aacfd469b to your computer and use it in GitHub Desktop.
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