Regardless of any settings, hid4java always use the libusb variant of libhidapi. Looking at the .so files in the resources folder, I found that libhidapi.so and libhidapi-libusb.so in the linux-x86-64 and linux-amd64 folder are exactly the same, and both of them seems to be the libusb variant.
Regardless of any settings, hid4java always use the libusb variant of libhidapi. Looking at the .so files in the resources folder, I found that
libhidapi.so
andlibhidapi-libusb.so
in thelinux-x86-64
andlinux-amd64
folder are exactly the same, and both of them seems to be the libusb variant.The libusb variant doesn't work for my use case because I'm trying to use hid4java with virtual HID devices, which doesn't get detected by libusb.