[PD] Wii remote

Hans-Christoph Steiner hans at eds.org
Sun Dec 17 17:57:42 CET 2006


Oops, forgot to include the ever important init statement.  It  
doesn't crash now, hopefully it actually works:


.hc


On Dec 17, 2006, at 8:44 AM, nick weldin wrote:

> Hi Hans
>
> Thanks for that.
>
> Unfortunately its not working for me at the moment.
>
> The object creates ok, but pd quits with no warnings or dialogs  
> whenever you send a message into the inlet.
>
> I'm trying it with Pd-0.39.2-extended-test5, Mac 10.4.8
>
> Will try it on another machine just to make sure its not something  
> with his machine.
>
> Happy to try things if anyone has suggestions.
>
> 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.
>
> Cheers
>
> Nick
>
>
>> On Dec 16, 2006, at 7:18 AM, Frank Barknecht wrote:
>>> Hallo,
>>> nick weldin hat gesagt: // nick weldin wrote:
>>>> There is a max external for the Wii remote here
>>>> http://www.iamas.ac.jp/~aka/max/#aka_wiiremote
>>>>
>>>> How big a job would it be to port it to PD - anyone up for it ?  my
>>>> coding skills are minimal.
>>>
>>> I guess, the best would be to just wait until the HID drivers
>>> stabilize a bit and then use [hid] to talk to the Wii, maybe adding
>>> some specialized abstractions later. Here are some interesting URLs:
>>>
>>> http://www.wiili.org/index.php/Wiimote
>>> http://www.wiili.org/index.php/Wiimote_driver
>>>
>>> I'll get a Wii next year, so I'd be trying that route for sure then.
>>
>> 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.
>>
>> 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:
>>
>> Attachment converted: Macintosh HD:wiiremote.pd_darwin.bz2  
>> (    /    ) (00B84091)
>>
>> Also, write up a help file and an example patch and I'll include it.
>> 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.
>>
>> .hc
>>
>> --------------------------------------------------------------------- 
>> ---
>>
>> All information should be free.  - the hacker ethic
>>
>>
>>
>>
>> _______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
>> listinfo/pd-list
>
>


------------------------------------------------------------------------

Computer science is no more related to the computer than astronomy is  
related to the telescope.      -Edsger Dykstra


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20061217/d4b91000/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wiiremote.pd_darwin.bz2
Type: application/octet-stream
Size: 16309 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20061217/d4b91000/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20061217/d4b91000/attachment-0001.htm>


More information about the Pd-list mailing list