autoconnect to controller and ports

This commit is contained in:
🪞👃🪞 2024-06-26 01:58:16 +03:00
parent 22b44f562b
commit da1d3220f9
2 changed files with 40 additions and 20 deletions

View file

@ -19,5 +19,12 @@ fn main () -> Result<(), Box<dyn Error>> {
let _cli = cli::Cli::parse();
let xdg = microxdg::XdgApp::new("dawdle")?;
crate::config::create_dirs(&xdg)?;
run(Launcher::new_with_controller("Launcher#0", ".*nanoKEY.*")?)
run(Launcher::new_with_controller(
"Launcher#0",
".*nanoKEY.*",
&[
"Komplete.*:playback_FL",
"Komplete.*:playback_FR",
]
)?)
}