Created
March 15, 2016 06:02
-
-
Save ericksli/3264ca31ad86abb2dc34 to your computer and use it in GitHub Desktop.
Map the mouse button 4 and 5 to browser's back and forward commands using Karabiner
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> | |
<devicevendordef> | |
<vendorname>DELUX</vendorname> | |
<vendorid>0x093a</vendorid> | |
</devicevendordef> | |
<deviceproductdef> | |
<productname>DELUX_M618</productname> | |
<productid>0x2521</productid> | |
</deviceproductdef> | |
<item> | |
<name>Delux M618</name> | |
<item> | |
<name>Mouse navigate back</name> | |
<identifier>private.delux_m618_nav_back</identifier> | |
<device_only>DeviceVendor::DELUX, DeviceProduct::DELUX_M618</device_only> | |
<autogen> | |
__KeyToKey__ | |
PointingButton::BUTTON5, | |
KeyCode::BRACKET_LEFT, ModifierFlag::COMMAND_L, | |
Option::NOREPEAT | |
</autogen> | |
</item> | |
<item> | |
<name>Mouse navigate forward</name> | |
<identifier>private.delux_m618_nav_forward</identifier> | |
<device_only>DeviceVendor::DELUX, DeviceProduct::DELUX_M618</device_only> | |
<autogen> | |
__KeyToKey__ | |
PointingButton::BUTTON4, | |
KeyCode::BRACKET_RIGHT, ModifierFlag::COMMAND_L, | |
Option::NOREPEAT | |
</autogen> | |
</item> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment