hid4java
hid4java copied to clipboard
Add native library version information
trafficstars
Adds a new API call to fetch the underlying native hidapi version.
HidServices.getNativeVersion();
// 0.11.0
Note:
- This does NOT include the
-devsuffix which is present in the native hidapi version information because hidapi does not expose this information. - To avoid a
NullPointerException, it will callHidApi.init()if needed. If this is undesired, please let me know.