Control the virtual panel with a physical midi controller

I have a MIDI controller (BCF2000) how should I control the virtual panel I created, which sends OSC messages to multiple Resolumes?

Sending messages to open stage control will at best update the widgets' values but it will not make them send any message. To make this happen you'll need to write a custom module that translates the midi messages to update the interface and send the osc messages to the other software.