Commit Graph

5 Commits

Author SHA1 Message Date
Ferdinand Schober
225ef818a2 Initial Hotplug support (#8)
This allows to dynamically add clients when an event is received from an unknown IP address.

The user is asked to confirm any unknown connection from new clients.

Currently the back-ends for event producing and consuming are not yet notified, so events will not be received and sent to the newly created clients.
2023-06-10 15:26:48 +02:00
Ferdinand Schober
a2d2e904f8 support for cmdline args and better error handling (#4)
* support for cmdline args and better error handling

* make config.toml optional

* dont abuse panic for error handling

* update doc

* more panics removed

* more unwraps removed
2023-02-18 04:03:10 +01:00
Ferdinand Schober
4c66b37a2f enable conditional compilation for all backends
To reduce binary size one can now enable only specific backends, e.g.
wayland or x11 via cargo features

Additionally adds stubs for libei and xdg-desktop-portal backends
2023-02-17 13:06:13 +01:00
Ferdinand Schober
f545fe2686 Abstract Event Types into a general struct
Ground work for supporting different input / emulation backends
2023-02-08 00:41:25 +01:00
Ferdinand Schober
5222f54eee major refactor
every instance of lan-mouse can now simultaneously send and receive
events
2023-01-30 19:15:58 +01:00