[fpc-pascal] Re: Accessing USB HID from Lazarus programs?
Mark Morgan Lloyd
markMLl.fpc-pascal at telemetry.co.uk
Mon Mar 21 15:49:51 CET 2011
Bo Berglund wrote:
> On Mon, 21 Mar 2011 08:55:44 +0000, Mark Morgan Lloyd
> <markMLl.fpc-pascal at telemetry.co.uk> wrote:
>
>> I'm accessing a Velleman K8055, which I think fits your description,
>> using libusb etc. I used Uwe Zimmerman's port of libusb
>> http://wiki.lazarus.freepascal.org/Hardware_Access#USB with very minor
>> changes, I used some C sources as examples but can't remember which-
>> possibly http://libk8055.sourceforge.net/
>
> On the page it says:
>
> libusb
> A cross platform possibility for Linux, BSDs and Mac OS X is libusb
>
> Does this mean it won't work on Windows?
There's a port of libusb for Windows. I half-heartedly tried my code a
couple of years ago against NT with the Edgeport USB stack but it failed
due to a missing kernel call, I've not tried it with a newer version of
Windows (i.e. one with the WDM) but I'd suggest it would be worth
investigating.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the fpc-pascal
mailing list