Merge pull request #17 from swarage/master

added updateRegistry stuff for joysticks
migrated fileprocessor to fopen instead of fstream