[fpc-pascal] USB Human Interface Devices

Marc Santhoff M.Santhoff at web.de
Sat Jul 27 14:27:09 CEST 2019


On Fri, 2019-07-26 at 22:37 +0200, Johann Glaser wrote:
> Hi!
>
> Am Freitag, den 26.07.2019, 15:56 +0200 schrieb Marc Santhoff:
> > On Thu, 2019-07-25 at 19:40 -0700, Brian wrote:
> > > Try the libusb library Free Pascal interface .. but be aware of his
> > > license
> > > requirements. It works well.
> > >
> > > http://johann-glaser.blogspot.com/2012/07/libusb-for-pascal.html
> >
> > http://johann-glaser.blogspot.com/2012/09/libusb-10-for-pascal.html
>
> Thanks for referring to my translation!
>
> @Brian: I wasn't even aware of a license topic, but when checking back
> now, the wrapper for the "old" libusb 0.1 states GPL in the README. I
> think this was a bad idea.
>
> Thanks to Marc to point to the newer wrapper for libusb 1.0, which uses
> the same license as libusb, and for all stuff from me the same as the
> FPC units. Just use the branch "libusb-1.0".
>
> Anyhow, I would recommend to use libusb 1.0.

I've seen "$ifdef Windows" in the Code, so it does support Windows without any
change?

If so, that would be James' solution.

--
Marc Santhoff <M.Santhoff at web.de>


More information about the fpc-pascal mailing list