Hi everyone, in first place thanks to Pieterp for his help and work:
I use the Control_Surface library (great work), and i tried many times modify the code but i cant resolve it, the question its simple; How convert CCButton in Toggle Switch?
Thanks Pieter, CCButtonLatched Class worked i when updated library.
Another question, How a rotary encoder cans incrementing 1 value at time? (1,2,3 ... 127) and not 0-127?
Rotary encoder with the library works fine with reaper´s mapping, but externals vst not, the values (knobs) goes bottom at top.