On 2010-05-12 09:17, Yvan Vander Sanden wrote:
On Tue, May 11, 2010 at 8:19 PM, Martin Eckart imartron@gmail.com wrote:
i put mikes original version into SVN (externals/hardware/wiimote) and started to fix that (half a year ago, or so)
Yes, Yvan's extension omits MotionPlus. I think Classic Controller support is experimental (I don't have one to test with and I don't think he did either).
No, only the wiimote itself. I don't think motionplus even existed back
then. I also removed the limit of 8 devices by using a glib array instead of a static c array. (Never actually had that much devices to try it out, but unless bluetooth has a limit i don't see why it should be there.)
the hardware/wiimote external does something similar and was actually tested with 6 wiimotes (with the motionplus) in an installation that lasted for several weeks; i consider it stable. (bluetooth is making more problems here, as you usually cannot use more than 4 or so wiimotes on a single dongle)
it also takes care of threading (using an internal queue to sync between libcwiid and Pd) i'm not sure whether ico ever looked at _that_ code, and whether it still has the problems he was experiencing (with other versions of that external?)
i would very much like to integrate all the changes into a single object, rather than having 3 or 4 objects named "wiimote" around, all of them trying to fix the same problems.
i don't have so much hardware to test it, though i tried my best to add support for motionplus, classic, nunchuk (with the unfortunate spelling error) and balance.
the only thing i never managed to work out was the speaker...
fgmasdr IOhannes