[PD] object that receives "print to console" messages

Hans-Christoph Steiner hans at at.or.at
Thu Jan 28 17:18:23 CET 2010


Doh, try this:

http://at.or.at/hans/pd/objects.html#hidio
>


.hc

On Jan 28, 2010, at 3:58 AM, Ingo Scherzinger wrote:

> Thank you, Hans!
> unfortunately the link to the [hidio] object is not working  
> (localhost?).
>
>
> That stuff is supported in the [hidio] object that hasn't been  
> officially released.  Its in SVN, and should build on GNU/Linux and  
> Mac OS X.  Or here's a tarball with binaries for GNU/Linux x86 and  
> Mac OS X 32-bit.
>
> http://localhost/hans/pd/objects.html#hidio
>
> .hc
>
> On Jan 27, 2010, at 10:42 AM, Ingo Scherzinger wrote:
>
>
> Hi,
>
> does anybody know if I can receive the stdout that prints to the pd  
> console?
>
> I am trying to get the ID number of an hid gamecontroller / joystick  
> automatically at startup. I tried sending “dmesg | grep Joystick” to  
> the shell object which gives me the “hidraw” ID but not the one that  
> Pd uses.
>
> [print( - [hid] gives me the correct IDs but I don’t know how to get  
> these into pd.
>
> Alternatively I could use the “hidraw” ID if I would know how to  
> open the [hid] device with that ID.
>
> Any help appreciated!
> Ingo




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

I have always wished for my computer to be as easy to use as my  
telephone; my wish has come true because I can no longer figure out  
how to use my telephone."  --Bjarne Stroustrup (creator of C++)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100128/26227748/attachment.htm>


More information about the Pd-list mailing list