Commit Graph

86 Commits

Author SHA1 Message Date
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
deb1548e21 cleanup
* cleanup Cargo.toml

* exclude backend from windows build

* remove env include in windows build

* remove Backend from windows build

* fix compiler warning
2023-02-17 14:40:40 +01:00
Ferdinand Schober
90ad518ebe Merge pull request #1 from ferdinandschober/conditional-compilation-of-backends
enable conditional compilation for all backends
2023-02-17 14:14:52 +01:00
Ferdinand Schober
ad68bc53fd fix windows build 2023-02-17 13:41:06 +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
94a4b15cc3 add tagged release job 2023-02-16 11:49:07 +01:00
Ferdinand Schober
90c966b522 atomatic release build publication 2023-02-16 11:36:42 +01:00
Ferdinand Schober
24a951d502 updload build artifacts 2023-02-16 11:17:45 +01:00
Ferdinand Schober
e89885ea84 rename build to build-linux 2023-02-16 10:47:47 +01:00
Ferdinand Schober
049e17775e authenticate fake-input 2023-02-15 14:07:58 +01:00
Ferdinand Schober
f2e0850e68 support kde-fake-input
(unfortunatelly does not seem to work)
2023-02-14 02:02:05 +01:00
Ferdinand Schober
6c5bc14f8c update dependencies 2023-02-14 02:01:44 +01:00
Ferdinand Schober
437a599504 formatting 2023-02-14 00:55:02 +01:00
Ferdinand Schober
6aa525c960 use private mapping (otherwise permission error on KDE) 2023-02-14 00:49:50 +01:00
Ferdinand Schober
f1a510ec36 Merge branch 'main' of github:ferdinandschober/lan-mouse 2023-02-13 21:35:17 +01:00
Ferdinand Schober
f20f009b41 cleanup conditional compilation 2023-02-13 21:35:06 +01:00
Ferdinand Schober
3d8bef42e2 Update README.md 2023-02-13 19:23:25 +01:00
Ferdinand Schober
9cbb6a5fec Update README.md 2023-02-13 19:17:48 +01:00
Ferdinand Schober
985419c829 Update README.md 2023-02-13 19:14:17 +01:00
Ferdinand Schober
e93ec6f3ce Update README.md 2023-02-13 19:13:22 +01:00
Ferdinand Schober
339e513646 add windows build to CI 2023-02-13 18:12:28 +01:00
Ferdinand Schober
5c9b75ecb2 Update rust.yml
Add x11 build dependencies
2023-02-13 18:08:19 +01:00
Ferdinand Schober
6898a961cb better error messages 2023-02-13 17:41:10 +01:00
Ferdinand Schober
1c3cd775a3 add todo 2023-02-13 17:40:29 +01:00
Ferdinand Schober
00f52923b8 fix windows build 2023-02-13 16:50:11 +01:00
Ferdinand Schober
d4d8ebbaeb add session detection 2023-02-12 22:37:18 +01:00
Ferdinand Schober
20cf6d450a initial x11 support 2023-02-12 22:15:19 +01:00
Ferdinand Schober
b20100b28e fix unix build 2023-02-12 19:09:10 +01:00
Ferdinand Schober
70b484878e initial windows support 2023-02-12 19:04:28 +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
9daa63bbea remove TODO 2023-02-02 22:09:51 +01:00
Ferdinand Schober
30e7a5b2ec Revert "start abstracting event type"
whops wrong branch ...

This reverts commit 3c26f35d5f.
2023-02-02 22:06:10 +01:00
Ferdinand Schober
3c26f35d5f start abstracting event type 2023-02-04 16:35:07 +01:00
Ferdinand Schober
a97ee911ef Create rust.yml 2023-01-30 23:51:31 +01:00
Ferdinand Schober
f3c47725bb Update README.md 2023-01-30 23:49:16 +01:00
Ferdinand Schober
2a9abbb4b7 Update README.md 2023-01-30 23:47:40 +01:00
Ferdinand Schober
1090776c00 Update README.md 2023-01-30 23:46:38 +01:00
Ferdinand Schober
e2fc18bf12 Update README.md 2023-01-30 23:45:29 +01:00
Ferdinand Schober
cbfc5213c1 Update README.md 2023-01-30 21:44:52 +01:00
Ferdinand Schober
5e7295f921 remove unused import 2023-01-30 21:23:02 +01:00
Ferdinand Schober
0710b92d68 remove debug print 2023-01-30 21:22:31 +01:00
Ferdinand Schober
b423d86d76 fix a stackoverflow 2023-01-30 21:21:24 +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
5c60e2eb58 some documentation 2023-01-03 22:48:50 +01:00
Ferdinand Schober
034f498726 cleanup 2022-12-29 22:11:32 +01:00
Ferdinand Schober
0341e6fc20 cleanup 2022-12-23 21:43:25 +01:00
Ferdinand Schober
d744a8907b panic with a proper message 2022-12-21 10:32:36 +01:00
Ferdinand Schober
bce13ea93d Update README.md
PR was merged
2022-10-09 11:45:28 +02:00
Ferdinand Schober
697eec2cc7 Update README.md 2022-09-21 11:48:32 +02:00
Ferdinand Schober
43fc04cfd1 rust fmt 2022-09-21 00:29:46 +02:00