R: [PD-dev] making a libusb object (expanding on [hid] toolkit)

Davide Morelli info at davidemorelli.it
Thu Jan 19 23:50:30 CET 2006


Hi!

> Then just like how [mouse], [joystick], [keyboard], etc. are 
> Pd objects based on [hid], there will be [multio], [arduino], 
> etc. which will be Pd objects based on [usb], [serial], etc.
> 

You may want to look at the current [multio] external (made by mamalala +
myself) in
externals/hardware/multio

> [hid] and [serial] are basically done, [hid] works on 
> GNU/Linux and Mac OSX and is being ported to Win32, and 
> [serial] will be based on [comport], thanks to Wini for that. 
>  For [usb], I am think of basically making a Pd interface to 
> libusb, since it runs on all Pd platforms, there is even a 
> Win32 port (which seems to be a fork, unfortunately).
> 

for the [multio] we used libusb for linux/osx and libusb-win32 for windows
and they work exactly the same way.. ok not extactly but almost!

> Anyhow, I am wondering if anyone has done any work towards 
> making a libusb object?  Also, ideas, comments, criticisms 
> are always welcome.
> 

you can surely take most of the code from [multio] external to create a more
general [usb] one, i am thinking at the threaded reading/writing stuff (it
really need to be threaded)

ciao!

> .hc
> 
> ______________________________________________________________
> __________
> ____
> 
>                    ¡El pueblo unido jamás será vencido!
> 
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev
> 





More information about the Pd-dev mailing list