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
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
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
f20f009b41
cleanup conditional compilation
2023-02-13 21:35:06 +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
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
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
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
43fc04cfd1
rust fmt
2022-09-21 00:29:46 +02:00
Ferdinand Schober
9d97129406
use delegate_noop macro
2022-09-21 00:25:25 +02:00
Ferdinand Schober
acc14d2f21
more compact import
2022-09-20 23:57:59 +02:00
Ferdinand Schober
65dba1624d
simplify client as well
2022-09-20 22:23:01 +02:00
Ferdinand Schober
ccf3d769d5
optimize imports
2022-09-20 22:08:05 +02:00
Ferdinand Schober
dddf2b896a
refactor using new global inits helper
2022-09-20 21:55:39 +02:00
Ferdinand Schober
f813261f50
test on plasma + now working
2022-09-20 20:27:20 +02:00
Ferdinand Schober
7a2c82a4e1
use all modifiers to switch back instead of ESC
2022-09-20 08:40:27 +02:00
Ferdinand Schober
76261ad24a
Send ALL keyboard shortcuts
...
Using keyboard-shortcut-inhibit-unstable-v1.xml we can inhibit shortcuts
for the server and send those to the client as well.
2022-09-20 08:24:44 +02:00
Ferdinand Schober
952fe85d48
switch to layer_shell
2022-09-20 00:44:20 +02:00
Ferdinand Schober
af719ede32
remove unnecessary reencoding
2022-09-19 20:21:28 +02:00
Ferdinand Schober
da7558b33b
not sure why I don't get any frame events ...
2022-09-19 19:13:51 +02:00
Ferdinand Schober
ed3882df57
proper frame events
2022-09-19 18:46:32 +02:00
Ferdinand Schober
2cd522044a
send frame after every pointer event to 'commit' it
2022-09-19 18:04:43 +02:00
Ferdinand Schober
35414059a8
Keyboard support + data requests via tcp server
2022-09-19 17:20:50 +02:00
Ferdinand Schober
d4b4e7c269
transmit button events + stub for keyboard
2022-09-16 23:14:27 +02:00
Ferdinand Schober
b4302c22b0
dns resolving
2022-09-16 15:43:27 +02:00
Ferdinand Schober
f2b48a38db
update README
2022-09-16 13:05:32 +02:00
Ferdinand Schober
f9e4e069cb
implement server side mouse grab
2022-09-16 13:02:22 +02:00
Ferdinand Schober
fa2aa6fe3b
implement server side code (as a window for the time being)
2022-09-16 01:52:24 +02:00
Ferdinand Schober
d2a554cc8f
Initial commit
2022-09-15 02:16:02 +02:00