[fpc-pascal] Re: Accessing USB HID from Lazarus programs?
Lukasz Sokol
el.es.cr at gmail.com
Mon Mar 21 10:01:56 CET 2011
On 20/03/2011 22:53, Bo Berglund wrote:
> On Sun, 20 Mar 2011 19:47:28 +0000, Henry Vermaak
> <henry.vermaak at gmail.com> wrote:
>> What you seen hidapi?
>>
>> http://www.signal11.us/oss/hidapi/
>>
>> You will probably have to translate the headers.
>
> Thanks, interesting read. I looked over what I thought would be the
> valid items and also tested the included enumeration test project,
> which found my keyboard, mouse and Microchip PicKit3 programmer.
> So far so good....
>
> But it looks like this is C or C++ stuff.... :-(
> Is there any FPC translation anywhere?
> I don't believe I can translate the C stuff properly myself to FPC.
>
>
In Turbo Delphi I have successfully used the headers found in JEDI project.
They're very Windows specific thou, as it captures system messages fwd to forms.
Haven't tried to use in Lazarus or multi-platform yet.
L.
More information about the fpc-pascal
mailing list