add build instructions

This commit is contained in:
Ferdinand Schober
2022-09-20 00:52:47 +02:00
parent 1f73117198
commit 961f147a43

View File

@@ -9,6 +9,19 @@ 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.
## Build and run
Run Server (sending key events):
```sh
cargo run --bin server
```
Run Client (receiving key events):
```sh
cargo run --bin client
```
As mentioned the server will only work on sway compiled from source with the above mentioned patch applied.
## TODO
- [x] Capture the actual mouse events on the server side via a wayland client and send them to the client
- [x] Mouse grabbing