Skip to content

Instantly share code, notes, and snippets.

@syhily
Last active January 29, 2022 05:39
Show Gist options
  • Save syhily/76a308e7e30073eb5c8a to your computer and use it in GitHub Desktop.
Save syhily/76a308e7e30073eb5c8a to your computer and use it in GitHub Desktop.
FC660M Configure For Mac
<?xml version="1.0"?>
<root>
<!-- This is a Personal Configure for My Leopold Keyboard By Syhily -->
<devicevendordef>
<vendorname>LEOPOLD_VENDOR</vendorname>
<vendorid>0x04d9</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>LEOPOLD_KEYBOARD</productname>
<productid>0xa097</productid>
</deviceproductdef>
<item>
<name>A Custom Setting For My Dear FC660M</name>
<item>
<name>Left Window To Left Option In Leopold KeyBorad</name>
<identifier>leopold.left_window_to_option</identifier>
<device_only>DeviceVendor::LEOPOLD_VENDOR, DeviceProduct::LEOPOLD_KEYBOARD</device_only>
<autogen>__KeyToKey__ KeyCode::COMMAND_L, KeyCode::OPTION_L</autogen>
</item>
<item>
<name>Switch The Escape To Backquote In Leopold KeyBorad</name>
<identifier>leopold.switch_escape_backquote</identifier>
<device_only>DeviceVendor::LEOPOLD_VENDOR, DeviceProduct::LEOPOLD_KEYBOARD</device_only>
<autogen>__KeyToKey__ KeyCode::BACKQUOTE, KeyCode::ESCAPE</autogen>
<autogen>__KeyToKey__ KeyCode::ESCAPE, KeyCode::BACKQUOTE</autogen>
</item>
<item>
<name>CapsLock To Backquote In Leopold KeyBorad</name>
<identifier>leopold.capslock_to_backquote</identifier>
<device_only>DeviceVendor::LEOPOLD_VENDOR, DeviceProduct::LEOPOLD_KEYBOARD</device_only>
<autogen>__KeyToKey__ KeyCode::CAPSLOCK, KeyCode::BACKQUOTE</autogen>
</item>
<item>
<name>Alt To Command In Leopold KeyBorad</name>
<identifier>leopold.alt_to_command</identifier>
<device_only>DeviceVendor::LEOPOLD_VENDOR, DeviceProduct::LEOPOLD_KEYBOARD</device_only>
<autogen>__KeyToKey__ KeyCode::OPTION_L, KeyCode::COMMAND_L</autogen>
<autogen>__KeyToKey__ KeyCode::OPTION_R, KeyCode::COMMAND_R</autogen>
</item>
<item>
<name>Right Ctrl To Right Option In Leopold KeyBorad</name>
<identifier>leopold.right_ctrl_to_right_option</identifier>
<device_only>DeviceVendor::LEOPOLD_VENDOR, DeviceProduct::LEOPOLD_KEYBOARD</device_only>
<autogen>__KeyToKey__ KeyCode::CONTROL_R, KeyCode::OPTION_R</autogen>
</item>
</item>
</root>
@husnulhamidiah
Copy link

How do I apply this configuration?

@syhily
Copy link
Author

syhily commented Sep 8, 2019

@husnulhamidiah You will need a application named karabiner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment