-
-
Save TimothyZhang023/42cdeeb5fe4119218713bb0d80861185 to your computer and use it in GitHub Desktop.
Karabiner for M545
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> | |
<name>Logitech M545 Mouse</name> | |
<devicevendordef> | |
<vendorname>LOGITECH</vendorname> | |
<vendorid>0x046d</vendorid> | |
</devicevendordef> | |
<deviceproductdef> | |
<productname>USB_Receiver</productname> | |
<productid>0xc52b</productid> | |
</deviceproductdef> | |
<item> | |
<name>Mouse Side to Volume Up and Down</name> | |
<identifier>private.mouse_side_to_page_up_down</identifier> | |
<device_only>DeviceVendor::LOGITECH, DeviceProduct::USB_Receiver</device_only> | |
<autogen> | |
__SimultaneousKeyPresses__ KeyCode::COMMAND_L, KeyCode::D, | |
ConsumerKeyCode::VOLUME_DOWN | |
</autogen> | |
<autogen> | |
__KeyToKey__ KeyCode::COMMAND_L, | |
ConsumerKeyCode::COMMAND_D | |
</autogen> | |
</item> | |
<item> | |
<name>Mouse Back and Forward</name> | |
<identifier>private.mouse_back_forward</identifier> | |
<device_only>DeviceVendor::LOGITECH, DeviceProduct::USB_Receiver</device_only> | |
<autogen> | |
--PointingButtonToKey-- | |
PointingButton::BUTTON4, | |
KeyCode::BRACKET_RIGHT, ModifierFlag::COMMAND_L | |
</autogen> | |
<autogen> | |
--PointingButtonToKey-- | |
PointingButton::BUTTON5, | |
KeyCode::BRACKET_LEFT, ModifierFlag::COMMAND_L | |
</autogen> | |
</item> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment