- usb4java is a Java library to access USB devices. The low-level
- part is based on the native
- libusb 1.0 library. Java NIO
- buffers are used for data exchange between libusb and Java. The
- high-level part implements the
- javax.usb standard (JSR-80).
+ usb4java is a Java library to access USB devices. It is based on
+ the native libusb 1.0 library
+ and uses Java NIO buffers for data exchange between libusb and Java.
+ usb4java also supports the
+ javax.usb standard (JSR-80)
+ through the usb4java-javax extension.
Supported platforms are Linux (x86 32/64 bit, ARM 32 bit),
@@ -25,14 +25,19 @@
@@ -47,12 +52,22 @@
</repository>
</repositories>
+<-- For using just usb4java without javax-usb -->
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
</dependency>
+</dependencies>
+
+<-- For using usb4java with javax-usb -->
+<dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${project.artifactId}-javax</artifactId>
+ <version>${usb4javaJavaxVersion}</version>
+ </dependency>
</dependencies>
@@ -74,38 +89,18 @@
-
-