Ok, I did already use Button.ino example, and already read the tutorial. I’ll take a look to distance sensor, it seems to be amazing.
Last night, I arrived to get two buttons and leds working using assignment->id in updateLed fonction.
I also call an updateAssignment fonction related to CC_EV_ASSIGNMENT to get led status just when Button is assigned to a plugin switch, it works.
CC_EV_UNASSIGNMENT seems to not work.
The main bug I have now, is that updateLED seems to not be call when i switch presets (if button is assigned to an effect that is ON on one preset, and OFF on another one). I also have controlchain disconnection when I switch many times these presets.
huge disappointment: It’s not possible to affect a controlchain button to global tempo, button doesn’t appears in menu, grrrrr.