I've been using Keyboard in System Preferences to map the CAPS LOCK key to CTRL. However, it does this system-wide and I need it only for OSX emacs. Now I'm using an application that requires a CAPS LOCK key. Is there any way to map only for OSX Emacs? Note, I'm not using Carbon emacs which I believe has explicit support for this.
The emacs wiki (http://www.emacswiki.org/emacs/MovingTheCtrlKey#toc13) points to Keyboard in System Preferences and uControl, which is no longer maintained. uControl points to fKeys (http://www.kodachi.com/software/fKeys/) which is reaching end of life.