To read the silder, potentiometer and S-M-R buttons of the nanoKONTROL2 i use ofxMidi. I think ofxMidi is written in a way that it runs on different operating systems. Even if I use "analog Not analog" only under Linux.
The incoming MIDI values are variables inside aNa.
pot. kp0 - kp8
slider ks0 - ks8
button kb0 - kb8
I control aNa via Lisp like expressions. Thus the operation of the nanoKONTROL2 flows into the animation.
chaos.social – a Fediverse instance for & by the Chaos community