Skip to content

Commit

Permalink
Add controller link support for mixer board
Browse files Browse the repository at this point in the history
  • Loading branch information
SubhadeepJasu committed May 29, 2022
1 parent 73524e7 commit 14a5af9
Show file tree
Hide file tree
Showing 4 changed files with 242 additions and 104 deletions.
3 changes: 3 additions & 0 deletions src/Core/MidiInput/MidiInputHost.vala
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ namespace Ensembles.Core {
Application.main_window.style_controller_view.handle_midi_button_event (index, value > 0); // This is an event for style player
} else if (index >= Shell.RegistryView.UI_INDEX_REG_1 && index <= Shell.RegistryView.UI_INDEX_REG_MEM) {
Application.main_window.registry_panel.handle_midi_button_event (index, value > 0); // This is an event for registry memory
} else if (index >= Shell.MixerBoardView.UI_INDEX_MIXER_STYLE_1 &&
index <= Shell.MixerBoardView.UI_INDEX_MIXER_SAMPLING_PAD) { // This is an event for mixer board
Application.main_window.mixer_board_view.handle_midi_controller_event (index, value);
}
}

Expand Down
Loading

0 comments on commit 14a5af9

Please sign in to comment.