pub struct Output {
pub midi: Vec<ActionStep, 32>,
pub midi_out: Vec<MidiOut, 16>,
pub display: Vec<DisplayEvent, 2>,
pub leds_changed: bool,
pub preset_changed: bool,
pub bpm: Option<u16>,
pub mon_led: Option<Rgb>,
pub mode_led: Option<Rgb>,
pub reactive_led: Option<ReactiveResult>,
/* private fields */
}Expand description
Result of processing an input event through the Controller. Contains everything the caller needs to emit — no further logic required.
Fields§
§midi: Vec<ActionStep, 32>MIDI actions to emit (includes on_enter/on_exit/recall on preset switch).
midi_out: Vec<MidiOut, 16>Routed MIDI messages with destination port(s). Includes thru-forwarded messages and future controller-generated output.
display: Vec<DisplayEvent, 2>Display events (overlays, hints).
leds_changed: boolWhether LED state changed and needs re-rendering.
preset_changed: boolWhether a preset switch occurred (caller may need to update display).
bpm: Option<u16>BPM computed from tap tempo (if any).
mon_led: Option<Rgb>Mon indicator LED: flashes on MIDI activity. Green = MIDI output generated, Blue = incoming MIDI processed.
mode_led: Option<Rgb>Mode indicator LED: color represents the active preset/bank. Set on preset change; None means no change.
reactive_led: Option<ReactiveResult>Reactive LED updates from incoming MIDI (CC → ring heatmap/trigger).