www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - USB Controller

reply "Josh Phillips" <jjpman71 gmail.com> writes:
Hey Guys!

I've started using Arduino, specifically with Processing. I'm 
using it essentially as a  usb controller. Is there a good way to 
translate this to D? There doesn't seem  to be any standard 
library for usb usage. Are there pre-built libraries or is there 
C libraries I should use?

Thanks
Josh
Apr 02 2015
parent "Laeeth Isharc" <laeeth nospamlaeeth.com> writes:
On Thursday, 2 April 2015 at 17:38:17 UTC, Josh Phillips wrote:
 Hey Guys!

 I've started using Arduino, specifically with Processing. I'm 
 using it essentially as a  usb controller. Is there a good way 
 to translate this to D? There doesn't seem  to be any standard 
 library for usb usage. Are there pre-built libraries or is 
 there C libraries I should use?

 Thanks
 Josh
Have a look at libusb.org and dstep binaries under releases on github to do the .h translation. Port of tango to d2 supposedly does USB also.
Apr 02 2015