Created
December 30, 2016 15:31
-
-
Save KeeperPat/442ecd668b87145058a5d8dc40019215 to your computer and use it in GitHub Desktop.
Karabiner Configuration to Remap Surface Ergonomic Keyboard Alt and Windows Keys for Mac
This file contains 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>Microsoft</vendorname> | |
<vendorid>0x045e</vendorid> | |
</devicevendordef> | |
<deviceproductdef> | |
<productname>SurfaceErgonomic</productname> | |
<productid>0x0817</productid> | |
</deviceproductdef> | |
<item> | |
<name>Remap Surface Ergonomic Alt to Command</name> | |
<appendix>This maps the Microsoft Surface Ergonomic's ALT Key to Command.</appendix> | |
<identifier>surface_ergonomic.alt_to_command</identifier> | |
<device_only>DeviceVendor::Microsoft, | |
DeviceProduct::SurfaceErgonomic</device_only> | |
<autogen> | |
--KeyToKey-- | |
KeyCode::OPTION_L, | |
KeyCode::COMMAND_L | |
</autogen> | |
<autogen> | |
--KeyToKey-- | |
KeyCode::OPTION_R, | |
KeyCode::COMMAND_R | |
</autogen> | |
</item> | |
<item> | |
<name>Remap Surface Ergonomic Windows to Option</name> | |
<appendix>This maps the Microsoft Surface Ergonomic's Windows Key to Option.</appendix> | |
<identifier>surface_ergonomic.windows_to_option</identifier> | |
<device_only>DeviceVendor::Microsoft, | |
DeviceProduct::SurfaceErgonomic</device_only> | |
<autogen> | |
--KeyToKey-- | |
KeyCode::COMMAND_L, | |
KeyCode::OPTION_L | |
</autogen> | |
<autogen> | |
--KeyToKey-- | |
KeyCode::COMMAND_R, | |
KeyCode::OPTION_R | |
</autogen> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment