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



_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list




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

                            kill your television


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to