I want to be able to click on the keys of a modeled piano/turn a modeled knob encoder and have that action transmit some midi data. How exactly should I go about doing this? I figure something like a knob would have some sort of data struct attached to it, with some default values mirroring what midi should look like. Can I hook into the InputEventMidi object and push the data in the struct to it?