prof7bit / hidapi.pas Goto Github PK
View Code? Open in Web Editor NEWFree Pascal bindings for libhidapi on Linux
Free Pascal bindings for libhidapi on Linux
I am struggling to access a HID device with Freepascal on Windows. It looks like this is pretty close to what could possibly solve the problem for me. I saw the notes in the readme that it doesn't work under windows yet, but I'm hoping it can be made to work under windows. I don't know anything about USB, or HID, or C and I'm lost when you say that wchar_t == 4 is not so in windows.. I don't know what in the world a wchar_t is or how to do something to make it == 4, so I'm hoping you can help me get this to work under windows.
I have a sample code (written in Python for Linux) that accesses this device, it uses similar functions to what you show here, open, close, write, read, sendfeaturereport, etc... so it seems like maybe if I could just get this to work under windows, it would be a solution for me.
I would be very grateful for any help getting this to work on Windows, and I'm happy to do whatever testing is needed. I also have no idea where to get HIDAPI.DLL, I'm hoping you could give me an idea of where I might get that as well.
Hi. This is more a question. How do you check the connection status of the HID Device using the HId API? Let say you loose connection and want to reconnect or somebody pulls out the USB cable. How do you recover from a connection failure?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.