mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-13 10:01:28 +03:00
add config instructions
This commit is contained in:
@@ -10,6 +10,12 @@ The protocols used for the virtual mouse and virtual keyboard drivers are curren
|
|||||||
In order for layershell surfaces to be able to lock the pointer using the pointer\_constraints protocol [this patch](https://github.com/swaywm/sway/pull/7178) needs to be applied to sway.
|
In order for layershell surfaces to be able to lock the pointer using the pointer\_constraints protocol [this patch](https://github.com/swaywm/sway/pull/7178) needs to be applied to sway.
|
||||||
|
|
||||||
## Build and run
|
## Build and run
|
||||||
|
First configure the client / server in `config.toml`.
|
||||||
|
Currently a client is hardcoded to be `client.right`, while a server is configured as `client.left`.
|
||||||
|
(I know, I know ... )
|
||||||
|
|
||||||
|
Client and Server can at the current state not be run on the same server, unless the port is changed in the config in between.
|
||||||
|
|
||||||
Run Server (sending key events):
|
Run Server (sending key events):
|
||||||
```sh
|
```sh
|
||||||
cargo run --bin server
|
cargo run --bin server
|
||||||
|
|||||||
Reference in New Issue
Block a user