<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><SPAN></SPAN></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>.hc</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><DIV><DIV>On Dec 17, 2006, at 8:44 AM, nick weldin wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Hi Hans</DIV><DIV><BR></DIV><DIV>Thanks for that.</DIV><DIV><BR></DIV><DIV>Unfortunately its not working for me at the moment.</DIV><DIV><BR></DIV><DIV>The object creates ok, but pd quits with no warnings or dialogs whenever you send a message into the inlet.</DIV><DIV><BR></DIV><DIV>I'm trying it with<FONT face="Lucida Grande" color="#000000"><SPAN class="Apple-style-span" style="font-family: Lucida Grande; "> Pd-0.39.2-extended-test5</SPAN></FONT>, Mac 10.4.8</DIV><DIV><BR></DIV><DIV>Will try it on another machine just to make sure its not something with his machine.</DIV><DIV><BR></DIV><DIV>Happy to try things if anyone has suggestions.</DIV><DIV><BR></DIV><DIV>I downloaded the max demo and the max object works and syncs to the wii remote - I will make something in Max for now as I have 30 days of the demo to go.</DIV><DIV><BR></DIV><DIV>Cheers</DIV><DIV><BR></DIV><DIV>Nick</DIV><DIV><BR></DIV><DIV><BR></DIV><BLOCKQUOTE type="cite" cite=""><SPAN class="Apple-style-span" style="color: rgb(0, 0, 221); ">On Dec 16, 2006, at 7:18 AM, Frank Barknecht wrote:</SPAN><BR style="color: rgb(0, 0, 221); "><BLOCKQUOTE type="cite" cite=""><SPAN class="Apple-style-span" style="color: rgb(0, 99, 18); ">Hallo,</SPAN><BR style="color: rgb(0, 99, 18); "><SPAN class="Apple-style-span" style="color: rgb(0, 99, 18); ">nick weldin hat gesagt: // nick weldin wrote:</SPAN><BR style="color: rgb(0, 99, 18); "><BLOCKQUOTE type="cite" cite=""><SPAN class="Apple-style-span" style="color: rgb(84, 0, 0); ">There is a max external for the Wii remote here</SPAN><BR style="color: rgb(84, 0, 0); "><SPAN class="Apple-style-span" style="color: rgb(84, 0, 0); "><A href="http://www.iamas.ac.jp/~aka/max/#aka_wiiremote">http://www.iamas.ac.jp/~aka/max/#aka_wiiremote</A></SPAN><BR style="color: rgb(84, 0, 0); "><BR style="color: rgb(84, 0, 0); "><SPAN class="Apple-style-span" style="color: rgb(84, 0, 0); ">How big a job would it be to port it to PD - anyone up for it ?  my</SPAN><BR style="color: rgb(84, 0, 0); "><SPAN class="Apple-style-span" style="color: rgb(84, 0, 0); ">coding skills are minimal.</SPAN></BLOCKQUOTE></BLOCKQUOTE><BLOCKQUOTE type="cite" cite=""><BR style="color: rgb(0, 99, 18); "><SPAN class="Apple-style-span" style="color: rgb(0, 99, 18); ">I guess, the best would be to just wait until the HID drivers</SPAN><BR style="color: rgb(0, 99, 18); "><SPAN class="Apple-style-span" style="color: rgb(0, 99, 18); ">stabilize a bit and then use [hid] to talk to the Wii, maybe adding</SPAN><BR style="color: rgb(0, 99, 18); "><SPAN class="Apple-style-span" style="color: rgb(0, 99, 18); ">some specialized abstractions later. Here are some interesting URLs:</SPAN><BR style="color: rgb(0, 99, 18); "><BR style="color: rgb(0, 99, 18); "><SPAN class="Apple-style-span" style="color: rgb(0, 99, 18); "><A href="http://www.wiili.org/index.php/Wiimote">http://www.wiili.org/index.php/Wiimote</A></SPAN><BR style="color: rgb(0, 99, 18); "><SPAN class="Apple-style-span" style="color: rgb(0, 99, 18); "><A href="http://www.wiili.org/index.php/Wiimote_driver">http://www.wiili.org/index.php/Wiimote_driver</A></SPAN><BR style="color: rgb(0, 99, 18); "><BR style="color: rgb(0, 99, 18); "><SPAN class="Apple-style-span" style="color: rgb(0, 99, 18); ">I'll get a Wii next year, so I'd be trying that route for sure then.</SPAN></BLOCKQUOTE></BLOCKQUOTE><BLOCKQUOTE type="cite" cite=""><BR style="color: rgb(0, 0, 221); "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 221); ">Right now [hid] and the next gen [hidio] use the HID APIs on Mac OS X and Windows, and the Linux input.h API.  So those APIs would have to support that device in order to use the WiiRemote.  From what I have seen, it seems to be a different API.  Now that I see it, I'll need to think about how to best handle it.  Plus the different OS's implementations could be very, very different.</SPAN><BR style="color: rgb(0, 0, 221); "><BR style="color: rgb(0, 0, 221); "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 221); ">The port seems to be pretty straightforward, most Max objects are pretty easy to port to Pd, and vice versa.  It builds but with a ton of compiler warnings.  It seems as tho the original programmer ignored them with the Max object.  Give it a try and let me know if it works for you:</SPAN><BR style="color: rgb(0, 0, 221); "></BLOCKQUOTE><BLOCKQUOTE type="cite" cite=""><BR style="color: rgb(0, 0, 221); "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 221); ">Attachment converted: Macintosh HD:wiiremote.pd_darwin.bz2 (    /    ) (00B84091)</SPAN><BR style="color: rgb(0, 0, 221); "><BR style="color: rgb(0, 0, 221); "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 221); ">Also, write up a help file and an example patch and I'll include it.  </SPAN><BR style="color: rgb(0, 0, 221); "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 221); ">This will be part of the nightly builds on Mac OS X now in the "io" libdir.  FYI: I dropped the "aka." prefix on the Pd version.</SPAN><BR style="color: rgb(0, 0, 221); "><BR style="color: rgb(0, 0, 221); "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 221); ">.hc</SPAN><BR style="color: rgb(0, 0, 221); "><BR style="color: rgb(0, 0, 221); "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 221); ">---------------------------------------------------------------------</SPAN><SPAN style="color: rgb(0, 0, 221); "></SPAN><SPAN class="Apple-style-span" style="color: rgb(0, 0, 221); ">---</SPAN><BR style="color: rgb(0, 0, 221); "><BR style="color: rgb(0, 0, 221); "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 221); ">All information should be free.  - the hacker ethic</SPAN><BR style="color: rgb(0, 0, 221); "><BR style="color: rgb(0, 0, 221); "><BR style="color: rgb(0, 0, 221); "><BR style="color: rgb(0, 0, 221); "></BLOCKQUOTE><BLOCKQUOTE type="cite" cite=""><BR style="color: rgb(0, 0, 221); "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 221); ">_______________________________________________</SPAN><BR style="color: rgb(0, 0, 221); "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 221); "><A href="mailto:PD-list@iem.at">PD-list@iem.at</A> mailing list</SPAN><BR style="color: rgb(0, 0, 221); "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 221); ">UNSUBSCRIBE and account-management -&gt; <A href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</A></SPAN></BLOCKQUOTE><DIV><BR></DIV><BR class="Apple-interchange-newline"></SPAN></BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><P style="margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><BR></P><DIV>------------------------------------------------------------------------</DIV><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Computer science is no more related to the computer than astronomy is related to the telescope.  </FONT><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><SPAN class="Apple-converted-space">   <SPAN class="Apple-converted-space"> </SPAN></SPAN>-Edsger Dykstra</FONT></P><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>