hid4java
hid4java copied to clipboard
A cross-platform Java Native Access (JNA) wrapper for the libusb/hidapi library. Works out of the box on Windows/Mac/Linux.
it's a bit confusing/discouraging that an error in the implementation leaks when a read fails: ``` 2024-07-18T12:06:06,135 INFO [org.example.Main.main()] org.example.tihidapi.impl.hid4java.TiHidApiSessionHid4JavaImplementation - writing: [63, 2, 114, 0, 0, 0, 0, 0,...
This PR provides a shell script run_example.sh in the base directory of the repo which can be used to run any of the example files directly with the platform's default...
**Describe the problem** In the hid4java wiki, there are recommendations to run the test/example programs using Maven commands of the form: ``` mvn clean test exec:java -Dexec.classpathScope="test" -Dexec.mainClass="org.hid4java.examples.UsbHidEnumerationExample" ``` I...
Hello, may I ask if it is possible to support dependencies on the Loongarch64 platform architecture? Thank you.
**Describe the problem** It seems like hidDataReceived never returns more than 64 bytes of data. I'm working with a magnetic swipe reader that delivers 337 bytes of data and I...