Hello list, I have made a binding for libhidapi because i needed one and I could not find any.
https://github.com/prof7bit/HIDAPI.pas (LGPL + static linking) It is not just an automated header translation, instead I have made it using the good old Pascal objects (and pointers to them) to cast the device handles into, attached Methods with Pascal-ish names to the objects which not only wrap the original c functions but also do some conversion of ugly wchar_t* stuff on the fly if needed and make it much more fun to use this C API. I hope someone might find it useful, its license compatible with other FPC units. -Bernd _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal