rpavlik/wiiuse — pull request #8 by jscasallas (2011-11-21 00:26:21+00:00)
Title: Mac support

Hey Ryan,
I followed your advice and used the WiiC code to add mac support to wiiuse. It works pretty well on both examples. Normally this change shouldn't affect Linux and Windows, but I did change the scope of propagate_event to non-static in order to be able to use it; this however shouldn't have any bad implications. I'll check this changes tomorrow on XP just in case, maybe you could try them on Linux?

I also changed example.c a bit so that only one led gets lit corresponding to the wiimote number (previously all of them would get lit in case there's less than 4).

Thanks!
Sebastian