On Fri, 2019-07-26 at 11:44 -0400, James Richters wrote: > I did try fpc-usb-hid, it uses units: BaseUnix and Unix which I don't have, > and don't know what they are. I tried commenting them out thinking maybe > they were needed for Linux, but then it just can't find a lot of other > things... I am on Windows and using FPX 3.0.4RC1, if the units I need are > in a later version of FPC I can update it.
If baseUnix ans Unix are in use, the code is for unixoid OS. Linux, *BSD, etc. The current LibUSB does support Windows, as you can see here: https://libusb.info/ But I _think_ the Pascal header adaption will need to be ported to Windows. Maybe someone else knows better? > A console demo would be a great help and very much appreciated, I am not in > a huge hurry. > > -----Original Message----- > From: fpc-pascal <fpc-pascal-boun...@lists.freepascal.org> On Behalf Of > Dimitrios Chr. Ioannidis via fpc-pascal > Sent: Friday, July 26, 2019 6:51 AM > To: FPC-Pascal users discussions <fpc-pascal@lists.freepascal.org> > Cc: Dimitrios Chr. Ioannidis <d.ioanni...@nephelae.eu> > Subject: Re: [fpc-pascal] USB Human Interface Devices > > Hi, > > On 2019-07-26 13:39, James Richters wrote: > < snip > > > > Anyone have any suggestions for an FPC only console application method > > or demo I could use to access this USB HID device? > > < snip > > > As I suggested in my previous mail You can use the fpc-usb-hid library > from Alfred. I don't see any dependency for Lazarus in the usbcontroller.pas > which is, AFAIU, the main unit. > > If you're not in a hurry, I could try to make a simple console demo this > weekend. > > regards, > > -- > Dimitrios Chr. Ioannidis > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepa > scal.org/cgi-bin/mailman/listinfo/fpc-pascal > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal -- Marc Santhoff <m.santh...@web.de> _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal