[fpc-pascal] USB Human Interface Devices
José Mejuto
joshyfun at gmail.com
Thu Aug 15 17:49:51 CEST 2019
El 15/08/2019 a las 15:11, James Richters escribió:
> Yes, in device manager I see it listed as "HID-compliant vendor-defined device" also Zadig identifies it as "USB Input Device" and it shows Driver: HidUsb (v10.1.17763.1)
>
> Is there a way to use the windows system HID interface with FPC already in place as there is for other windows APIs?
>
Hello,
You can find a HID interface for windows at:
https://libstock.mikroe.com/projects/view/528/usb-hid-dll-for-delphi-and-perhaps-other-languages
In the "Basic" package.
Anyway, if possible, the use of libusb-1.0 is recommended as it will
give you crossplatform support.
You can check my project to see how devices are enumerated, based in the
libusb-1.0 function calls.
--
More information about the fpc-pascal
mailing list