[BREAKGLASS] Append-only mirror of github.com/sparrowwallet/usb4java
Go to file
Luca Longinotti 7afa6e6e25 Remove javax.usb requirement from org.libusb4java, for the various descriptor types.
This results in them not being an implementor of the javax.usb interface, which is easily remedied in the
usb4java part by just having a new constructor that takes the LibUsb descriptor instead of the javax.usb
compatible ones. Also, to remove the dependency from DescriptorUtils, the code for a simple toString() of the
descriptors had to be duplicated in the usb4java.descriptors.Simple*Descriptors.
A new method, DescriptorUtils.getDirectionName() was added to translate the right endpoint address bit to IN
or OUT direction strings respectively.
Tests were updated accordingly.
2014-02-15 21:39:49 +01:00
src Remove javax.usb requirement from org.libusb4java, for the various descriptor types. 2014-02-15 21:39:49 +01:00
.gitignore Ignore IDEA files 2013-09-14 15:38:18 +02:00
LICENSE.md Convert LICENSE.txt to LICENSE.md 2013-04-13 13:37:00 +02:00
pom.xml Swith C code to use org.libusb4java. Update references. 2014-02-15 19:25:25 +01:00
README.md Fix website link and correct formatting of copyright lines 2013-09-15 13:53:40 +02:00

usb4java

USB library for Java based on libusb 1.0

Copyright (C) 2011 Klaus Reimer, k@ailis.de
Copyright (C) 2013 Luca Longinotti, l@longi.li

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.

Build Status