Okay, this is probably quite basic. But I want to use signals from unrelated USB devices (such as the controllers for the PS2 game buzz) to control PD. How would I go about recognising these devices and logging commands from them?
Are you a PC? Upload your PC story and show the world http://clk.atdmt.com/UKM/go/122465942/direct/01/
[hid] is the usual route.
There's a good help file for it. Plug in your controller and do lsusb at the command line. You will probably see the name listed.
In the [hid] help patch, advance the [open( message until you see it appear in the Pd console. Set the poll to 20ms and you should see buttons and joysticks cause some output in Pd.
On Wed, 3 Dec 2008 15:07:42 +0000 Andrew Faraday jbturgid@hotmail.com wrote:
Okay, this is probably quite basic. But I want to use signals from unrelated USB devices (such as the controllers for the PS2 game buzz) to control PD. How would I go about recognising these devices and logging commands from them?
Are you a PC? Upload your PC story and show the world http://clk.atdmt.com/UKM/go/122465942/direct/01/
I think you can see [hid] to start. ++
Jack
Le 3 déc. 08 à 16:07, Andrew Faraday a écrit :
Okay, this is probably quite basic. But I want to use signals from
unrelated USB devices (such as the controllers for the PS2 game
buzz) to control PD. How would I go about recognising these devices
and logging commands from them?Take your friends with you with Mobile Messenger. Click Here! _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
if you device is not hid but use libusb, then you can have a look at externals/hardware/multio.c - of course you will need to adjust it (vendor_id, product_id).
pat