On 07/07/2015 10:14 AM, raskolni...@es.gnu.org wrote: > On the other hand, I have the impression that what we really need is a > two simple functions `map[Output,Input]Control(channel, value, group, > name, options)` that allows to define a MIDI mapping at run-time. This > would be the JS equivalent of the <control> tags.
I just realized this is already possible. The function names specified in the XML file are JavaScript variables, so just assign the variable to a different function. I'll play around with this, refactor the Electrix Tweaker mapping, and document how to use the technique on the wiki. ------------------------------------------------------------------------------ _______________________________________________ Get Mixxx, the #1 Free MP3 DJ Mixing software Today http://mixxx.org Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel