Skip to content

Instantly share code, notes, and snippets.

@mhaylock
Created March 12, 2015 09:50
Show Gist options
  • Save mhaylock/2a0f114b8c49daab328e to your computer and use it in GitHub Desktop.
Save mhaylock/2a0f114b8c49daab328e to your computer and use it in GitHub Desktop.
Karabiner (https://pqrs.org/osx/karabiner/index.html.en) Configuration for remapping "Sculpt Ergonomic Desktop" mouse's Windows button to Mouse Button 4. Derived from http://blog.yorkxin.org/posts/2014/04/12/microsoft-sculpt-mobile-mouse-and-mac/.
<?xml version="1.0"?>
<root>
<devicevendordef>
<vendorname>MICROSOFT</vendorname>
<vendorid>0x045e</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>SCULPT_ERGONOMIC_DESKTOP</productname>
<productid>0x07a5</productid>
</deviceproductdef>
<item>
<name>Windows Button to Mouse Button 4 (Microsoft Sculpt Ergonomic Desktop Mouse)</name>
<identifier>com.microsoft.mouse.sculpt_ergonomic_desktop.win_button</identifier>
<device_only>DeviceVendor::MICROSOFT,DeviceProduct::SCULPT_ERGONOMIC_DESKTOP</device_only>
<autogen>
__KeyToKey__
KeyCode::OPTION_R,
KeyCode::VK_MOUSEKEY_BUTTON_BUTTON4
</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment