I've shared my code for the Key Assigner, though there are some caveats: (1) it's super ugly code, and (2) it assumes that you've already replaced your keybed with a MIDI keybed. With that said, the code is here:
Chip
Yahoo Groups archive
Message
2016-09-01 by chipaudette@yahoo.com