Configurable emulation backend (#151)

This commit is contained in:
Ferdinand Schober
2024-07-01 20:09:16 +02:00
committed by GitHub
parent 9cbe1ed8d8
commit b6b16063a8
15 changed files with 417 additions and 179 deletions

View File

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