blink1
blink1 copied to clipboard
Java library can only open one device at a time
At the moment the blink(1) Java/Processing library is limited to one actual device open at a time (due to my inability to get native data structs to appear as opaque blobs in object instances)
There is a way of wrapping native data structs in JNI, but I couldn't get it to work. Anyone with a link on how to do this? In this case the data type is a "hid_device*".
I am building a library for the blink(1) mk2 in pure Java (using usb4java and JSR-080) that should solve this issue. It can be found here https://github.com/avernois/blink4java
Any comments are welcome :)