Created
April 9, 2014 16:00
-
-
Save bps/10286288 to your computer and use it in GitHub Desktop.
Fix modifier keys on MS Sculpt Ergonomic keyboard
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> | |
<!-- | |
I found that remapping Cmd and Alt via the Keyboard prefs didn't | |
properly remap right Alt, so we'll do it here. Also map the | |
application key to right Alt. | |
--> | |
<devicevendordef> | |
<vendorname>MICROSOFT</vendorname> | |
<vendorid>0x045e</vendorid> | |
</devicevendordef> | |
<deviceproductdef> | |
<productname>MS_SCULPT_ERGO_KEYBOARD</productname> | |
<productid>0x07a5</productid> | |
</deviceproductdef> | |
<item> | |
<name>Fix MS Sculpt Ergo keyboard modifier keys</name> | |
<appendix>Changes Alt keys to Cmd, Windows and application keys to Alt</appendix> | |
<identifier>private.fix_ms_sculpt_ergo</identifier> | |
<device_only>DeviceVendor::MICROSOFT, DeviceProduct::MS_SCULPT_ERGO_KEYBOARD</device_only> | |
<autogen>__KeyToKey__ KeyCode::OPTION_L, KeyCode::COMMAND_L</autogen> | |
<autogen>__KeyToKey__ KeyCode::COMMAND_L, KeyCode::OPTION_L</autogen> | |
<autogen>__KeyToKey__ KeyCode::OPTION_R, KeyCode::COMMAND_R</autogen> | |
<autogen>__KeyToKey__ KeyCode::PC_APPLICATION, KeyCode::OPTION_R</autogen> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment