[fpc-pascal] USB Human Interface Devices

James Richters james at productionautomation.net
Thu Aug 15 15:11:49 CEST 2019


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?

James

-----Original Message-----
From: fpc-pascal <fpc-pascal-bounces at lists.freepascal.org> On Behalf Of José Mejuto
Sent: Thursday, August 15, 2019 8:34 AM
To: fpc-pascal at lists.freepascal.org
Subject: Re: [fpc-pascal] USB Human Interface Devices

El 14/08/2019 a las 16:29, James Richters escribió:

> I'll have a look at your project.. maybe it will give me some clues.
> Can you tell me how to get hid.dll?  I  find it all very confusing, can I just download the dll somewhere or do I have to get this huge confusing package and built it myself?  The sample code that is able to access my device with python on Linux uses hid.dll  I would like to at least be able to try the hid.dll... if I can get hid.dll somewhere.

Hello,

hid.dll is the windows system HID interface, the API provided by Windows.

>> In the other hand, the hardware you are trying to manage is 10CE:EB93 ?
> Yes, I got a listing of all devices, then I plugged in the new one, and that is the ID that was not there before.
>> If the answer is yes, that device is *not* HID compatible so you can 
>> not use hid.dll for native access, you must use WinUSB API set, or 
>> the
>> libusb-1.0 abstraction layer.
> I'm curious how you can tell that by looking at the number of it?

No, I just look for the product and try to find its drivers, no one name the HID interface. Do you see the device in windows device manager under the HID section "Human Interface Devices (HID)" ?


-- 

_______________________________________________
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