hid4java icon indicating copy to clipboard operation
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.

Results 35 hid4java issues
Sort by recently updated
recently updated
newest added
trafficstars

Closes gary-rowe/hid4java#131 Requires libhidapi `0.12.0`. Tested locally with `libhidapi.0.12.0.dylib` and jna `5.8.0` on M1 Max Macbook Pro.

Since the announcement of Apple Silicon (arm64/aarch64), hid4java (and it's dependent library, JNA) doesn't have native support and can't be used unless run through emulation using Rosetta 2. Note, this...

Note before merging: This PR contains commits from #115, but they can be refactored out once that branch is merged into `develop`. Relevant commits: * 1e2be9a - Add darwin-aarch64 to...

I use this library to read metrics (battery level, etc.) from my wireless headset (HyperX Cloud Flight) on macOS (12.6) using [this](https://github.com/gary-rowe/hid4java/pull/116) build. However while reading data i can no...

Hello all, I want to get data from HID device so i used event hidDataReceived from class https://github.com/gary-rowe/hid4java/blob/develop/src/main/java/org/hid4java/HidServicesListener.java. But when i build this lib from this github (Not using veriosn...

I am not scanning my device using UsbHidEnumerationExample. Do I need to do anything to set the MAC?

Please add a module name to the library. It should probably be `org.hid4java`.

I'm trying to open an HID using the latest (snapshot) version of hid4java. This works, as long as I run via `sudo`; but after `.open` I am expecting some packages...

Not sure if to categorize this as error report or feature request: When we set setAutoStart(false), add a HidServicesListener and than call HidServices.start(), for all attached devices hidDeviceAttached(HidServicesEvent) is called....

**Describe the bug** The HID device attaches and opens successfully. But the following code always fails and returns -1: private static final byte[] message; static { message = new byte[]...