Re: [PD] [PD-announce] [wiimote] for ubuntu
On Tue, May 11, 2010 at 8:19 PM, Martin Eckart imart...@gmail.com wrote: 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.) If i recall correctly it wouldn't be hard to implement new controllers, as long as you know what signals they send. (Which is easy to find out.) -- Copyright only exists in the imagination of those who do not have any. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] [wiimote] for ubuntu
On 2010-05-12 09:17, Yvan Vander Sanden wrote: On Tue, May 11, 2010 at 8:19 PM, Martin Eckart imart...@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 smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] [wiimote] for ubuntu
Hi all Thanks to IOhannes for providing a fix so quickly. For those already added the rdz ppa, please perform an 'aptitude update aptitude upgrade' and check, if nunchuk works correctly now. On Wed, 2010-05-12 at 10:45 +0200, IOhannes m zmoelnig wrote: 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 agree very much. Can we agree, that this single object shall be hardware/wiimote ? I picked it, because I personally was interested in having MotionPlus support, but of course, everyone involved should be able to comment on it. 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. Nice. I'll happily test the classic controller. I didn't know that it was supposed to be supported (It wasn't when I tested the last time, which was ages ago, with Mike Wozniewski's version). the only thing i never managed to work out was the speaker... P.S.: from the svn log: r13512: fixed typo when registering nunchuck sweet ;-) I checked the wiimote.c and there it's spelled correctly everywhere. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] [wiimote] for ubuntu
I'm not much into pd lately, but noticed the message in my inbox stream because of the wii label. Anyway, if you want to, there's still some code online i wrote a few years back. I also started out from mike's code and updated and improved things a bit. Added a few extra objects for easier message handling and such. It's still working on my 9.04 ubuntu but i only use it for a few old compositions now. Feel free to copy out some code if you can use it. http://youngmusic.org/wiki/index.php/Wiilib Regards, yvan On Mon, May 10, 2010 at 11:12 PM, Roman Haefeli reduzie...@yahoo.de wrote: On Mon, 2010-05-10 at 16:18 -0400, Martin Eckart wrote: This package is working almost perfectly for me in Lucid. The main issue I'm having right now is that the nunchuck is being mis-recognized as the classic controller for which there is no support. I get the message Classic controller attached. There is no real support for this yet. when plugging in the nunchuck and none of the nunchuck functions work. Thanks for reporting. I don't have a nunchuk to test myself, but since you say, that wmgui recognizes it correctly, it seems like a bug in [wiimote]. Interestingly wmgui recognizes my 'classic controller' and also displays the controls correctly, but not the MotionPlus. It looks like the cwiid library has support for all three extensions, but wmgui and [wiimote] don't have all implemented. Nunchuck works fine in wmgui so there's something funny in the wiimote abstraction I think. I guess the best would be to open a new ticket in the bug tracker. Hopefully a mercyful soul will fix it. Roman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Copyright only exists in the imagination of those who do not have any. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] [wiimote] for ubuntu
Fantastic! I compiled your code and now the nunchuk just works. Looking into your code a bit it seems as though the original wiimote external misspelled nunchuk and you've compensated for it: --- // support the spelling mistake in the original version :-) class_addmethod(wiimote_class, (t_method)wiimote_nunchuk, gensym(reportNunchuck), A_DEFFLOAT, 0); class_addmethod(wiimote_class, (t_method)wiimote_nunchuk, gensym(reportNunchuk), A_DEFFLOAT, 0); --- I couldn't find the original wiimote code easily so it's hard to check whether that could be made to work too. -martin On Tue, 2010-05-11 at 09:14 +0200, Yvan Vander Sanden wrote: I'm not much into pd lately, but noticed the message in my inbox stream because of the wii label. Anyway, if you want to, there's still some code online i wrote a few years back. I also started out from mike's code and updated and improved things a bit. Added a few extra objects for easier message handling and such. It's still working on my 9.04 ubuntu but i only use it for a few old compositions now. Feel free to copy out some code if you can use it. http://youngmusic.org/wiki/index.php/Wiilib Regards, yvan On Mon, May 10, 2010 at 11:12 PM, Roman Haefeli reduzie...@yahoo.de wrote: On Mon, 2010-05-10 at 16:18 -0400, Martin Eckart wrote: This package is working almost perfectly for me in Lucid. The main issue I'm having right now is that the nunchuck is being mis-recognized as the classic controller for which there is no support. I get the message Classic controller attached. There is no real support for this yet. when plugging in the nunchuck and none of the nunchuck functions work. Thanks for reporting. I don't have a nunchuk to test myself, but since you say, that wmgui recognizes it correctly, it seems like a bug in [wiimote]. Interestingly wmgui recognizes my 'classic controller' and also displays the controls correctly, but not the MotionPlus. It looks like the cwiid library has support for all three extensions, but wmgui and [wiimote] don't have all implemented. Nunchuck works fine in wmgui so there's something funny in the wiimote abstraction I think. I guess the best would be to open a new ticket in the bug tracker. Hopefully a mercyful soul will fix it. Roman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Copyright only exists in the imagination of those who do not have any. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] [wiimote] for ubuntu
Hi all Mike Wozniewski's original page [1] is not available anymore. However, I guess the sources in svn/externals/hardware/wiimote are based on his code. You can check the svn log for all changes made by IOhannes since the fork. IIRC, IOhannes already fixed the misspeller with 'Nunchuck' in svn. Actually, I d'be happy to create a package that supports both extensions MotionPlus and Nunchuk. Is it correct, that currently Yvan's wiilib supports only the Nunchuk and [wiimote] from svn supports only MotionPlus and neither supports Classic Controller? If not, please let me know what works best. Personally, I was mainly interested in the MotionPlus, because this is what I have. [1] http://mikewoz.com/index.php?page=pd-stuff Roman On Tue, 2010-05-11 at 11:12 -0400, Martin Eckart wrote: Fantastic! I compiled your code and now the nunchuk just works. Looking into your code a bit it seems as though the original wiimote external misspelled nunchuk and you've compensated for it: --- // support the spelling mistake in the original version :-) class_addmethod(wiimote_class, (t_method)wiimote_nunchuk, gensym(reportNunchuck), A_DEFFLOAT, 0); class_addmethod(wiimote_class, (t_method)wiimote_nunchuk, gensym(reportNunchuk), A_DEFFLOAT, 0); --- I couldn't find the original wiimote code easily so it's hard to check whether that could be made to work too. -martin On Tue, 2010-05-11 at 09:14 +0200, Yvan Vander Sanden wrote: I'm not much into pd lately, but noticed the message in my inbox stream because of the wii label. Anyway, if you want to, there's still some code online i wrote a few years back. I also started out from mike's code and updated and improved things a bit. Added a few extra objects for easier message handling and such. It's still working on my 9.04 ubuntu but i only use it for a few old compositions now. Feel free to copy out some code if you can use it. http://youngmusic.org/wiki/index.php/Wiilib Regards, yvan On Mon, May 10, 2010 at 11:12 PM, Roman Haefeli reduzie...@yahoo.de wrote: On Mon, 2010-05-10 at 16:18 -0400, Martin Eckart wrote: This package is working almost perfectly for me in Lucid. The main issue I'm having right now is that the nunchuck is being mis-recognized as the classic controller for which there is no support. I get the message Classic controller attached. There is no real support for this yet. when plugging in the nunchuck and none of the nunchuck functions work. Thanks for reporting. I don't have a nunchuk to test myself, but since you say, that wmgui recognizes it correctly, it seems like a bug in [wiimote]. Interestingly wmgui recognizes my 'classic controller' and also displays the controls correctly, but not the MotionPlus. It looks like the cwiid library has support for all three extensions, but wmgui and [wiimote] don't have all implemented. Nunchuck works fine in wmgui so there's something funny in the wiimote abstraction I think. I guess the best would be to open a new ticket in the bug tracker. Hopefully a mercyful soul will fix it. Roman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Copyright only exists in the imagination of those who do not have any. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] [wiimote] for ubuntu
Fantastic! I compiled your code and now the nunchuk just works. Looking into your code a bit it seems as though the original wiimote external misspelled nunchuk and you've compensated for it: --- // support the spelling mistake in the original version :-) class_addmethod(wiimote_class, (t_method)wiimote_nunchuk, gensym(reportNunchuck), A_DEFFLOAT, 0); class_addmethod(wiimote_class, (t_method)wiimote_nunchuk, gensym(reportNunchuk), A_DEFFLOAT, 0); --- I couldn't find the original wiimote code easily so it's hard to check whether that could be made to work too. -martin You can also simply try disis_wiimote (available from http://l2ork.music.vt.edu - click on Join the L2Orkmania - Software) which is fully threaded dsp xrun-safe iteration of wiimote code and works with wiimotes/nunchuks and to the best of my knowledge also with classic controller (although I've not tested it personally). Ico ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] [wiimote] for ubuntu
Actually, I d'be happy to create a package that supports both extensions MotionPlus and Nunchuk. Is it correct, that currently Yvan's wiilib supports only the Nunchuk and [wiimote] from svn supports only MotionPlus and neither supports Classic Controller? 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). -martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] [wiimote] for ubuntu
On 2010-05-10 22:18, Martin Eckart wrote: This package is working almost perfectly for me in Lucid. The main issue I'm having right now is that the nunchuck is being mis-recognized as the classic controller for which there is no support. I get the message Classic controller attached. There is no real support for this yet. when plugging in the nunchuck and none of the nunchuck functions work. i checked the source and it turned out to be a combination of a typo and an ill-set #ifdef clause. i have fixed both, so if you want to compile again (or ask roman to provide an updated package) the nunchuck should be working... the only extension i have is the motionplus, so i cannot test. fgmasdrt IOhannes smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [PD-announce] [wiimote] for ubuntu
Hi all I created a package of the [wiimote] external, written by Mike Wozniewki; MotionPlus support added by IOhannes m zmoelnig: https://launchpad.net/~reduzierer/+archive/rdz-pd-extra+deps Note: In order to enable support for MotionPlus on Karmic (and older), I had to backport the cwiid packages from Lucid to Karmic (and older). I hope this does not break other packages depending on cwiid. Have Fun (and report bugs)! Roman ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] [wiimote] for ubuntu
Well done Roman! As soon I can I'll test it. husk On Mon, May 10, 2010 at 5:20 PM, Roman Haefeli reduzie...@yahoo.de wrote: Hi all I created a package of the [wiimote] external, written by Mike Wozniewki; MotionPlus support added by IOhannes m zmoelnig: https://launchpad.net/~reduzierer/+archive/rdz-pd-extra+deps Note: In order to enable support for MotionPlus on Karmic (and older), I had to backport the cwiid packages from Lucid to Karmic (and older). I hope this does not break other packages depending on cwiid. Have Fun (and report bugs)! Roman ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce -- If identity in the Post-modernism is nothing you can call me a RadikalTeknoFreak Hartivist www.estereotips.net qeve.estereotips.net ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] [wiimote] for ubuntu
This package is working almost perfectly for me in Lucid. The main issue I'm having right now is that the nunchuck is being mis-recognized as the classic controller for which there is no support. I get the message Classic controller attached. There is no real support for this yet. when plugging in the nunchuck and none of the nunchuck functions work. Nunchuck works fine in wmgui so there's something funny in the wiimote abstraction I think. -martin On Mon, 2010-05-10 at 17:20 +0200, Roman Haefeli wrote: Hi all I created a package of the [wiimote] external, written by Mike Wozniewki; MotionPlus support added by IOhannes m zmoelnig: https://launchpad.net/~reduzierer/+archive/rdz-pd-extra+deps Note: In order to enable support for MotionPlus on Karmic (and older), I had to backport the cwiid packages from Lucid to Karmic (and older). I hope this does not break other packages depending on cwiid. Have Fun (and report bugs)! Roman ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] [wiimote] for ubuntu
I had problems with Woz's nunchuck controls depending on how I found the wii It would not work at all or all values would go to max, then a restart would recognize the nunchuck, it would work for a few minutes then crash pp -Original Message- From: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf Of Martin Eckart Sent: Monday, May 10, 2010 4:18 PM To: pd-list@iem.at Subject: Re: [PD] [PD-announce] [wiimote] for ubuntu This package is working almost perfectly for me in Lucid. The main issue I'm having right now is that the nunchuck is being mis-recognized as the classic controller for which there is no support. I get the message Classic controller attached. There is no real support for this yet. when plugging in the nunchuck and none of the nunchuck functions work. Nunchuck works fine in wmgui so there's something funny in the wiimote abstraction I think. -martin On Mon, 2010-05-10 at 17:20 +0200, Roman Haefeli wrote: Hi all I created a package of the [wiimote] external, written by Mike Wozniewki; MotionPlus support added by IOhannes m zmoelnig: https://launchpad.net/~reduzierer/+archive/rdz-pd-extra+deps Note: In order to enable support for MotionPlus on Karmic (and older), I had to backport the cwiid packages from Lucid to Karmic (and older). I hope this does not break other packages depending on cwiid. Have Fun (and report bugs)! Roman ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] [wiimote] for ubuntu
On Mon, 2010-05-10 at 16:18 -0400, Martin Eckart wrote: This package is working almost perfectly for me in Lucid. The main issue I'm having right now is that the nunchuck is being mis-recognized as the classic controller for which there is no support. I get the message Classic controller attached. There is no real support for this yet. when plugging in the nunchuck and none of the nunchuck functions work. Thanks for reporting. I don't have a nunchuk to test myself, but since you say, that wmgui recognizes it correctly, it seems like a bug in [wiimote]. Interestingly wmgui recognizes my 'classic controller' and also displays the controls correctly, but not the MotionPlus. It looks like the cwiid library has support for all three extensions, but wmgui and [wiimote] don't have all implemented. Nunchuck works fine in wmgui so there's something funny in the wiimote abstraction I think. I guess the best would be to open a new ticket in the bug tracker. Hopefully a mercyful soul will fix it. Roman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list