Skip to content

Instantly share code, notes, and snippets.

@localghost666
Created April 22, 2015 13:51
Show Gist options
  • Save localghost666/d9d1debf7b6a9454d0c1 to your computer and use it in GitHub Desktop.
Save localghost666/d9d1debf7b6a9454d0c1 to your computer and use it in GitHub Desktop.
애플 무선 키보드(A1314, 키보드 이름은 Wireless Keyboard로 설정)의 Fn키와 왼쪽 Ctrl키를 서로 바꿔주는 Karabiner용 private.xml
<?xml version="1.0"?>
<root>
<item>
<name>Apple Wireless Keyboard</name>
<devicevendordef>
<vendorname>APPLE</vendorname>
<vendorid>0x05AC</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>WIRELESS_KEYBOARD</productname>
<productid>0x0239</productid>
</deviceproductdef>
<item>
<name>Swap Fn for Left Control</name>
<identifier>private.swap_fn_for_left_control</identifier>
<device_only>DeviceVendor::APPLE, DeviceProduct::WIRELESS_KEYBOARD</device_only>
<autogen>
__KeyToKey__
KeyCode :: FN,
KeyCode :: CONTROL_L
</autogen>
<autogen>
__KeyToKey__
KeyCode :: CONTROL_L,
KeyCode :: FN
</autogen>
</item>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment