Utility for the caps lock key and some international keys in PC keyboards.
Download Seil-10.11.0 For OS X 10.10, 10.9, 10.8
Download PCKeyboardHack-9.0.0 For OS X 10.7
Download PCKeyboardHack-7.4.0 For OS X 10.6
Open a downloaded dmg file, and then open a pkg file in dmg.
Open Launchpad (or open " Applications" folder from Finder).
Then, click Seil.
Note If you're using PCKeyboardHack 8.0.0 or earlier, Preferences is in System Preferences.
Activate items and change the keycode if needed.
If you are using Seil to change the behavior of caps lock, open "System Preferences > Keyboard > Modifier Keys..." and change caps lock configuration to "No Action".
You need to do this step to to reduce caps lock delay.
Seil changes key behavior in all keyboards.
So, you cannot specify enabled devices in Seil.
But you can change keys only in specified devices by using Karabiner and Seil together.
First, change the caps lock key to f19 key in Seil, and then change f19 key in Karabiner.
Steps:
Change key code of the caps lock key to "80" in Seil.
(Do not forget "No Action" configuration.)
Then the caps lock key works as f19 key.
Change f19 key in Karabiner with <device_only> tag.
Please use the following private.xml with replacing <vendorid> and <productid>.
(How to use private.xml.)
<?xml version="1.0"?>
<root>
<devicevendordef>
<vendorname>My_Keyboard_VendorID</vendorname>
<!-- *** Replace this value with yours. *** -->
<vendorid>0x05ac</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>My_Target_Keyboard_ProductID</productname>
<!-- *** Replace this value with yours. *** -->
<productid>0x0245</productid>
</deviceproductdef>
<item>
<name>Change f19 key to delete key</name>
<appendix>(Change f19 key to caps lock key in internal keyboard.)</appendix>
<identifier>private.f19_hack</identifier>
<block>
<!-- change f19 key to delete key -->
<device_only>
DeviceVendor::My_Keyboard_VendorID,
DeviceProduct::My_Target_Keyboard_ProductID
</device_only>
<autogen>__KeyToKey__ KeyCode::F19, KeyCode::DELETE</autogen>
</block>
<block>
<!-- change f19 key to caps lock key in other devices -->
<autogen>__KeyToKey__ KeyCode::F19, KeyCode::CAPSLOCK</autogen>
</block>
</item>
</root>
We need to modify secret values of OS X to performs purpose of Seil.
However, we cannot access those secret values via SDK which Apple provides. We need source code of OS X to modify these values.
This source code will not be published until new OS X is shipped. Therefore, Seil is intentionally disabled on beta version of OS X.
Please wait until new OS X is shipped from Apple. And please wait new version of Seil for new OS X.
Seil provides a command line interface. (seil command)
Execute seil with no argument.
$ /Applications/Seil.app/Contents/Library/bin/seil Usage: seil export seil relaunch seil set IDENTIFIER VALUE Example: seil export seil relaunch seil set keycode_capslock 80
$ /Applications/Seil.app/Contents/Library/bin/seil export > ~/Desktop/seil-import.sh
$ sh ~/Desktop/seil-import.sh ...........................................