Skip to content
Gary Rowe edited this page Sep 20, 2020 · 9 revisions

What is hid4java?

An out of the box solution to getting USB Human Interface Device (HID) equipment to "just work" with Java using the Java Native Architecture (JNA) and libusb/hidapi libraries.

The target audience is "hobbyist and commercial developers" familiar with USB.

Why should I use it?

It will allow you to communicate with HID devices across Windows, OS X and Linux with a minimum of fuss:

  • fully integrated support for the libusb/hidapi libraries
  • pre-compiled libraries provided in the JAR (no fiddling with java.library.path)
  • support for Maven and Gradle

Where next?

  • Build Guide - if you're not familiar with Java or Maven
  • Troublshooting - if you're having issues getting your device to work
Clone this wiki locally