Skip to main content

process_button

Function process_button 

Source
pub fn process_button(
    state: &mut PresetState,
    preset: &Preset,
    btn_idx: usize,
    event: ButtonEvent,
) -> EngineResult
Expand description

Process a button event. Updates state and returns MIDI/system/display actions.