configurable capture backend

This commit is contained in:
Ferdinand Schober
2024-06-28 22:56:49 +02:00
parent 232c048c19
commit b874898c11
12 changed files with 233 additions and 84 deletions

View File

@@ -71,7 +71,7 @@ fn run_service(config: &Config) -> Result<()> {
log::info!("Press Ctrl+Alt+Shift+Super to release the mouse");
let server = Server::new(config);
server.run().await?;
server.run(config.capture_backend).await?;
log::debug!("service exiting");
anyhow::Ok(())