ofxNI2 with 2 Kinects 1414 (MBP / macOS Mojave)

Hey there!

I’ve been successfully using a single 1414 with this library but I just can’t figure out how to make it
work for 2 of them as the project I’m working on requires.
Although this is probably an ugly way to do it, I’ve tried just duplicating the tracker and device without success.

    device01.setup(0);
    tracker01.setup(device01);
    device02.setup(1);
    tracker02.setup(device02);

Is there something I’m missing?
I’m rather noob with oF :slight_smile: Any clue or help would be greatly appreciated!

PS: I’ve read through the OpenNI 2.0 documentation (https://documentation.help/OpenNI-2.0/index.html) but I’ve a hard time finding what I’m looking for.

So in the end i just made 2 different apps each with their own device and it works and client is happy.

Issue seems to be from libusb which locks onto one device.
Maybe a solution would be to use mutex but that might confuse the driver perhaps.