Skip to content

Instantly share code, notes, and snippets.

@ikonst
Created Mar 18, 2016
Embed
What would you like to do?
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