-
Hi all,
I've been having fun with libmonome lately. I’m running into an issue when trying to have multiple monome devices running. I initialize them as such:
monome_t* arc = monome_open(ARC_DEVICE, “8000”);
monome_t* grid = monome_open(GRID_DEVICE, “8001”);
Then set up all the callbacks, and poll for events with:
while(monome_event_handle_next(arc));
while(monome_event_handle_next(grid));
In this configuration, only my Arc sees input. If I set the Grid to 8000 and Arc to 8001, then the Grid works fine but the Arc doesn’t see input anymore.
That being said, both devices can receive data just fine - I can turn on LEDs perfectly. It’s just handling input that doesn’t work.
If I try to set both devices to 8000 in `monome_open`, I (understandably) get a segfault from liblo “cannot find free port”.
What’s the trick here? I tried digging around in the sources a little bit, but couldn’t figure out what I was doing wrong.
Thanks!
