Use NI Rig Kontrol to send CC MIDI messages and control MOD Duo

Hi @falkTX and all you guys,

I read this in the anouncements of the last firmware release v1.3.0 :

Generic USB joysticks as MIDI devices
Last but not least, you can now use generic joysticks as if they were a MIDI device.
Previously we could already use PS3 and PS4 joysticks over USB, now thanks to @Azza (and some little extra integration…) we can now use any joystick recognized by the MOD as a MIDI device. :smiley:
Buttons will send MIDI notes while Axis send MIDI CCs.

Then I searched for the related source code to try to understand better:

My question: Do you think something similar can be done with Rig Kontrol and be able to translate the pedal and switches input events to MIDI CC messages in JACK inside Mod Duo ?

If you would give me some hints, of course I could test it!

( And if necessary, even try to modify and compile from source code, if that could be done with modpluginbuilder cross-compilation toolchain… )

Regards