MIDI Rotary Encoders

Hey! Just discovered this great project and I have a question that I have seen some answers on but still feel a bit confused about. I have the Behringer xtouch mini that has “infinite” scrolling knobs. Would it be possible to change some code to link these midi events instead of using the hardware ones?

Look up CUIA in the wiki. There are a raft of control options there. Using the midi mapping facilities in the webconf you can build a environment