Forked version of http://www.beartronics.com/bearlib.sourceforge.net/