[BREAKGLASS] Append-only mirror of github.com/sparrowwallet/usb4java
Fix submitted to libusbx as pull request #116. Also fix this inside the Java wrapper, by adding our own refcount (similar to what was in original usb4java, but allowing multiple calls with the default context), and making the access to said variable thread-safe. Once libusbx fixes this, the above code can be removed. |
||
|---|---|---|
| src | ||
| .gitignore | ||
| LICENSE.md | ||
| pom.xml | ||
| README.md | ||
usb4java
USB library for Java based on libusb 1.0
Copyright (C) 2011 Klaus Reimer k@ailis.de
See LICENSE.md for licensing information.
This library can be used to access USB devices in Java. It is based on the native libusb 1.0 shared library and reflects this API as complete as possible. usb4java also implements the javax.usb (JSR80) API. So you can choose if you want to access the USB devices via the low-level libusb 1.0 API or via the high level javax.usb API.
The native libraries are included in pre-compiled form for Linux, Windows and Mac OS X in 32 and 64 bit versions. The libraries are automatically extracted and loaded so you don't need to care about them.
For more detailed information please visit the usb4java website.