mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 20:26:42 +01:00
recombine arranger, sequencer modules
This commit is contained in:
parent
7ef97bcf3a
commit
190aca8d3b
12 changed files with 658 additions and 660 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
use crate::{core::*, handle, App, AppFocus};
|
||||
|
||||
submod!{ arranger chain focus mixer plugin sampler sequencer transport }
|
||||
submod!{ chain focus mixer plugin sampler transport }
|
||||
|
||||
handle!{
|
||||
App |self, e| {
|
||||
|
|
@ -31,9 +31,9 @@ fn handle_focused (state: &mut App, e: &AppEvent) -> Usually<bool> {
|
|||
AppFocus::Transport =>
|
||||
handle_keymap(state, e, crate::control::transport::KEYMAP_TRANSPORT),
|
||||
AppFocus::Arranger =>
|
||||
handle_keymap(state, e, crate::control::arranger::KEYMAP_ARRANGER),
|
||||
handle_keymap(state, e, crate::devices::arranger::KEYMAP_ARRANGER),
|
||||
AppFocus::Sequencer =>
|
||||
handle_keymap(state, e, crate::control::sequencer::KEYMAP_SEQUENCER),
|
||||
handle_keymap(state, e, crate::devices::sequencer::KEYMAP_SEQUENCER),
|
||||
AppFocus::Chain => Ok(if state.entered {
|
||||
handle_device(state, e)? ||
|
||||
handle_keymap(state, e, crate::control::chain::KEYMAP_CHAIN)?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue