mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-08 03:11:27 +03:00
Configurable emulation backend (#151)
This commit is contained in:
committed by
GitHub
parent
9cbe1ed8d8
commit
b6b16063a8
@@ -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(())
|
||||
|
||||
Reference in New Issue
Block a user