We are developing an application that will use Keyboard, Mouse and Midi input to control it. We are not using Midi to create music but as an alternative method to control the interface.
We would like to build the interface so that you can assign Midi messages to visual components. You should be able to set the GUI in a sort of midilistenmode and click a component. When the component is clicked it will get a different color and will wait for the first midi message it receives. When it receives it this component will be mapped to this message. Next time this message is received the component will respond the same as it would be clicked or change the value of a slider.
How would i set up such a thing in Juce, i was thinking of implementing a MidiListener class like the ButtonListener and make my components inherited from this. But how would i go about this.
Could anyone give me some hints on this matter.