Re: [fpc-pascal] HIDAPI Bindings for FPC (on Linux)

2016-11-20 Thread Bernd
I found and fixed a few minor problems while writing the demo and added a simple demo program that will enumerate and print all devices and then tries to open a certain device by vid/pid, I have just hard coded the vid/pid of a popular cheap Logitech joystick because that was the only HID device th

Re: [fpc-pascal] HIDAPI Bindings for FPC (on Linux)

2016-11-19 Thread Michael Van Canneyt
On Sat, 19 Nov 2016, Bernd wrote: 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 ob

[fpc-pascal] HIDAPI Bindings for FPC (on Linux)

2016-11-19 Thread Bernd
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 th