libspnav is a replacement for the magellan library with a cleaner API
http://spacenav.sourceforge.net/