blink1 icon indicating copy to clipboard operation
blink1 copied to clipboard

Java library can only open one device at a time

Open todbot opened this issue 13 years ago • 1 comments

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*".

todbot avatar Dec 19 '12 22:12 todbot

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 :)

avernois avatar Aug 07 '14 22:08 avernois