Gosh, everytime I open up Xcode I find myself frustrated.
Anyway, I managed to get and build the latest. I had to add MacJoystick.cpp to the xcode project, because I was getting unresolved externals. I did not commit, would be better if you committed what you have working.
I tested with XBox (original cotroller). Axis sticks seemed to work well. However, the D-pad showed up as buttons? And, when I pushed any other buttons, the joystick would stop firing all events after that. And, the triggers did not work either. Though, overall, i would say great progress - just some wrinkles to iron out. I'll see if I can find some other joystick to test against. I may try to debug a bit this weekend to find out if there is anyway to find the D-Pad (maybe it is just an alien concept to OSX and we might have to settle with it being buttons or axis depending on driver). By the way, this is on Tiger & PPC machine (Macbook is still down, so am on older iMac).