Check if CC assigned as automation
-
Could we have a function to test if a CC number has been assigned as an automation control. I would like this so that I can have MIDI automation on custom panels and trigger a repaint only when those CCs are used. It would be even better if we could query a particular control for its automation CC number, if any.
-
Yup, good request. However if you call repaint in the control callback it will also be fired if the CC is moved.
-
aha well that makes things simpler :)
-
I've added a method
Engine.isControllerUsedByAutomation()
which might come in handy for some other things too.