Skip to content

Instantly share code, notes, and snippets.

@ikonst
Created March 18, 2016 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ikonst/2b6e19492218962605ac to your computer and use it in GitHub Desktop.
Save ikonst/2b6e19492218962605ac to your computer and use it in GitHub Desktop.
Microsoft L5V-00001 Sculpt Ergonomic Desktop Keyboard and Mouse — private.xml for Karabiner
<?xml version="1.0"?>
<root>
<!--
Based on:
https://blog.yorkxin.org/posts/2014/04/12/microsoft-sculpt-mobile-mouse-and-mac/
Button 4 is the side button (located by the blue Windows button).
This allows you to map the Windows button as Button 5.
1. brew cask install karabiner
2. Karabiner - Preferences - Misc & Uninstall - "Open private.xml"
3. Paste contents into private.xml
4. Karabiner - Preferences - Change Key - "⟳ Reload XML
5. Check "Windows Button to Mouse Button 5 (Microsoft Sculpt Mobile Mouse)"
-->
<item>
<name>Windows Button to Mouse Button 5 (Microsoft Sculpt Mobile Mouse)</name>
<identifier>com.microsoft.mouse.sculpt_mobile.win_button</identifier>
<device_only>DeviceVendor::MICROSOFT,DeviceProduct::MICROSOFT_NANO_TRANSCEIVER_2-1</device_only>
<autogen>
__KeyToKey__
KeyCode::OPTION_R,
KeyCode::VK_MOUSEKEY_BUTTON_BUTTON5
</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment