Ferdinand Schober
6d16747c19
add setters for clients and authorized keys
2026-02-07 16:08:09 +01:00
NeoTheFox
3f13714d8a
Add rustfmt.toml for explicit styling ( #348 )
...
* Propose an explicit .rustfnt.toml
Use 2024 style, 4 spaces for tabs and epand the default width a tad
* Auto-format the existing code with new rules
2025-11-02 11:52:01 +01:00
Ferdinand Schober
5a3a21c2c0
clients should not be mandatory in configuration ( #285 )
...
closes #284
2025-04-01 13:22:08 +02:00
Michel Lao
15296263b2
Fix parsing TOML key 'position' and values ( #281 )
...
* fix parsing toml key position and values
* Using rename_all instead rename over each enum
* rename struct field directly
---------
Co-authored-by: Ferdinand Schober <ferdinand.schober@fau.de >
2025-03-21 14:02:38 +01:00
Ferdinand Schober
92f652df2e
feat: simplify and change configuration ( #279 )
...
*breaking change*
this changes the configuration syntax, allowing for an unlimited amount of configured clients.
Also a first step towards enabling a "save config" feature.
2025-03-15 18:45:19 +01:00
Ferdinand Schober
2f6a3629ad
remove cli frontend in favour of cli subcommand ( #278 )
...
this removes the cli frontend entirely, replacing it with a subcommand instead
2025-03-15 18:20:25 +01:00
Ferdinand Schober
50a778452e
Gtk frontend rework ( #276 )
...
client configuration now applies immediately instead of after enabling / disabling clients.
Also fixes a potential feedback loop when changing settings.
2025-03-15 01:21:53 +01:00
Ferdinand Schober
3e1c3e95b7
use shadow-rs instead of executing git describe
...
this removes git from the build dependencies
2025-01-27 16:51:25 +01:00
Ferdinand Schober
7677fae14b
Encryption and One-Way-Control ( #200 )
...
This is a major rewrite of the core networking logic enabling one-way control and encryption through the webrtc-dtls crate.
closes #164
closes #104
2024-11-09 13:54:43 +01:00
Ferdinand Schober
a870a9e3a9
split features for emulation and capture backends
2024-11-07 12:43:42 +01:00
Ferdinand Schober
cd2cabf25b
adapt config backend options to cli arg names
2024-11-06 12:14:47 +01:00
Ferdinand Schober
be677d4c81
extract frontend crate ( #186 )
2024-09-04 17:29:29 +02:00
Ferdinand Schober
1f7a7309eb
include commit-hash in version ( #185 )
2024-09-02 19:46:07 +02:00
Ferdinand Schober
4db2d37f32
split into input-{event,capture,emulation}
2024-07-02 22:07:37 +02:00
Ferdinand Schober
b6b16063a8
Configurable emulation backend ( #151 )
2024-07-01 20:09:16 +02:00
Ferdinand Schober
3528ef4fae
Configurable capture backend ( #150 )
...
capture backend can now be configured via the `capture_backend` cli argument / config entry
2024-06-29 00:10:36 +02:00
Ferdinand Schober
799b45104a
enter hook command ( #130 )
...
new configuration option `enter_hook` can now be used to spawn a command when a client is entered
2024-05-12 13:01:07 +02:00
Ferdinand Schober
f7edfecba9
add tests for capture and emulation
2024-04-11 13:53:49 +02:00
Ferdinand Schober
9e56c546cd
make release bind configurable ( #95 )
...
closes #85
2024-03-18 09:20:28 +01:00
Ferdinand Schober
fad48c2504
no config is not an error
2024-01-17 08:37:18 +01:00
Ferdinand Schober
d90eb0cd0f
Activate on startup ( #70 )
...
Frontends are now properly synced among each other and on startup the correct state is reflected.
Closes #75
Closes #68
2024-01-16 12:59:39 +01:00
Ferdinand Schober
d3fed1b769
enable gtk frontend in windows ( #58 )
...
The gtk frontend can now be built in windows!
The github workflow is updated to build GTK and add it to the releases section.
2023-12-24 18:00:59 +01:00
Ferdinand Schober
5a7e0cf89c
formatting
2023-12-09 00:43:54 +01:00
Ferdinand Schober
56e5f7a30d
Background service ( #43 )
...
better handling of background-service: lan-mouse can now be run without a gui by specifying --daemon as an argument.
Otherwise the servic will be run as a child process and correctly terminate when the window is closed / frontend exits.
Closes #38
2023-12-09 00:36:01 +01:00
Ferdinand Schober
e6677c3061
Respect XDG_CONFIG_HOME for config.toml location ( #41 )
...
* Respect XDG_CONFIG_HOME for config.toml location
* add option to specify config via commandline
closes #39
2023-12-01 11:16:56 +01:00
Ferdinand Schober
06725f4b14
Frontend improvement ( #27 )
...
* removed redundant dns lookups
* frontend now correctly reflects the state of the backend
* config.toml is loaded when starting gtk frontend
2023-09-25 13:03:17 +02:00
Ferdinand Schober
d042c0aa4a
Libadwaita gui ( #19 )
...
Major Update: Functional GUI Frontend!
2023-09-20 15:23:33 +02:00
Ferdinand Schober
1a4d0e05be
Epoll ( #20 )
...
major update:
- remove threading overhead by resorting to an event driven design with mio as a backend for epoll
- Clients can now have an arbitrary amount of ip adresses and lan-mouse will automatically choose the correct one
- -> seemless switching between ethernet and wifi
- cli frontend + frontend adapter for future frontends
2023-09-19 19:12:47 +02:00
Ferdinand Schober
b74f1b4291
Default port now 4242 everywhere ( #14 )
2023-06-11 21:54:40 +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
5222f54eee
major refactor
...
every instance of lan-mouse can now simultaneously send and receive
events
2023-01-30 19:15:58 +01:00
Ferdinand Schober
f813261f50
test on plasma + now working
2022-09-20 20:27:20 +02:00
Ferdinand Schober
35414059a8
Keyboard support + data requests via tcp server
2022-09-19 17:20:50 +02:00