@hems
I’m using a node-js module that already deal with recognising the device and all that jazz for me
ok, well what is that?
still assuming that your app is just speaking OSC.
so to emulate a device connection, send your app /serialosc/add s <id> where s is the device type. monome osc reference
as @dan_derks says, GUI could be a TouchOSC app.
make a multi-push or multitoggle control ( guess), with “local feedback” turned off.
and then on your host, make a little bridge program that converts between touchosc formatted messages, and monome formatted messages. e.g. on receiving /multitoggle/1/1 0 from touchosc, send /grid/key 1 1 0.
the only wrinkle i see is that in touchOSC, if i understand correctly, the state that a control sends is always coupled to its visible state, even with ‘local feedback’ turned off… so the bridge might need to keep track of two different state models and make adjustments.
the bridge program could be made using pyOSC, node-osc, liblo, JUCE, max, pd, or whatever you like.