[fpc-pascal] USB Human Interface Devices

James Richters james at productionautomation.net
Fri Jul 26 17:44:12 CEST 2019


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.  

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-bounces at 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 at lists.freepascal.org>
Cc: Dimitrios Chr. Ioannidis <d.ioannidis at 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 at lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


More information about the fpc-pascal mailing list