Ferdinand Schober
cc7984c066
fix clippy lint
2024-04-08 21:14:07 +02:00
Ferdinand Schober
be8124a190
fix dns resolving
2024-03-22 12:40:05 +01:00
Ferdinand Schober
8aaff9fb58
move to windows from win-api ( #99 )
2024-03-21 23:04:20 +01:00
Ferdinand Schober
742b1585d7
rename producer, consumer to emulation and capture ( #98 )
...
input emulation / input capture is clearer than event consumer and producer
2024-03-21 20:26:57 +01:00
Ferdinand Schober
a491c0e9e3
refactor producer and consumer ( #97 )
2024-03-21 16:55:54 +01:00
Ferdinand Schober
af02cccc2a
exit instead of panicing when con to backend lost
2024-03-21 15:35:56 +01:00
Ferdinand Schober
4b499742ad
update dependencies
2024-03-21 13:02:21 +01:00
Ferdinand Schober
9afe7da0dd
Libei Input Capture ( #94 )
2024-03-20 14:03:52 +01:00
Ferdinand Schober
9e56c546cd
make release bind configurable ( #95 )
...
closes #85
2024-03-18 09:20:28 +01:00
Ferdinand Schober
9a75a7622e
fix duplicate creating of wl_pointer / wl_keyboard ( #92 )
...
closes #91
2024-03-15 17:00:59 +01:00
Kai
5cc8cda19d
macos: add keyboard support ( #81 )
...
* macos: add keyboard support
* macos: handle key repeat
* update README
2024-01-26 11:05:54 +01:00
Ferdinand Schober
8084b52cfc
Revert "gtk: handle exit of service properly"
...
This reverts commit 1f4821a16d .
breaks ubuntu lts
2024-01-23 21:51:40 +01:00
Ferdinand Schober
1f4821a16d
gtk: handle exit of service properly
2024-01-23 21:36:42 +01:00
Ferdinand Schober
82926d8272
fix error handling in consumer task
2024-01-23 20:47:29 +01:00
Ferdinand Schober
017bc43176
refactor timer task
2024-01-19 02:07:03 +01:00
Ferdinand Schober
36001c6fb2
refactor udp task
2024-01-19 02:03:30 +01:00
Ferdinand Schober
2803db7073
refactor dns task
2024-01-19 02:01:45 +01:00
Ferdinand Schober
622b04b36c
refactor frontend task
2024-01-19 01:58:49 +01:00
Ferdinand Schober
61ff05c95a
refactor consumer task
2024-01-19 01:51:09 +01:00
Ferdinand Schober
ecab3a360d
refactor producer task
2024-01-18 23:46:06 +01:00
Ferdinand Schober
6674af8e63
allow incoming requests from arbitrary ports ( #78 )
...
closes #77
2024-01-18 22:36:33 +01:00
Ferdinand Schober
b3caba99ab
fix misleading warning
2024-01-18 22:22:27 +01:00
Ferdinand Schober
fad48c2504
no config is not an error
2024-01-17 08:37:18 +01:00
Ferdinand Schober
f28f75418c
add a warning when mouse is released by compositor
...
This can not be influenced and is helpful for debugging
2024-01-17 08:36:41 +01:00
Ferdinand Schober
e2c47d3096
fix: initial dns resolve was not working
2024-01-17 00:22:24 +01:00
Ferdinand Schober
535cd055b9
fix initial activation
2024-01-16 19:49:34 +01:00
Ferdinand Schober
118c0dfc73
cleanup
2024-01-16 16:58:47 +01:00
Ferdinand Schober
7897db6047
remove unneccessary enumerate request
2024-01-16 16:15:23 +01:00
Ferdinand Schober
347256e966
fix frontend channel buffer size
2024-01-16 16:03:33 +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
13597b3587
fix app_id + app icon
2024-01-15 08:42:23 +01:00
Ferdinand Schober
d54b3a08e1
ignore double press / release events ( #71 )
...
This should fix most of the remaining issues with stuck keys in KDE
2024-01-12 13:13:23 +01:00
Ferdinand Schober
767fc8bd6b
comment about pointer relase in sending state
...
Figured out, why it sometimes happened that the pointer is released in
sending state. However nothing we can do about it.
(not a real issue)
2024-01-08 16:54:14 +01:00
Ferdinand Schober
fa15048ad8
ignore every event except Enter in receiving mode ( #65 )
...
Modifier or other key events are still sent by some compositors after leaving the window which causes them to be pressed on both devices.
Now an Enter event must be produced before any further events are sent out (except disconnect)
2024-01-05 18:00:30 +01:00
Ferdinand Schober
a6f386ea83
windows: impl key repeating ( #63 )
...
closes #47
2024-01-05 13:19:41 +01:00
Ferdinand Schober
4561c20610
layer-shell: recreate windows, when output is removed / added ( #62 )
...
Previously, when an output was removed (e.g. laptop lid closed and opened) the windows used for input capture would not appear anymore until toggling the client off and on
2024-01-01 22:48:44 +01:00
Ferdinand Schober
6cdb607b11
Fix Error handling in layershell producer ( #61 )
...
previous error handling resulted in a softlock when the connection
to the compositor was lost
2024-01-01 22:07:21 +01:00
Ferdinand Schober
f5827bb31c
fix port changing
2024-01-01 14:55:29 +01:00
Ferdinand Schober
64e3bf3ff4
release stuck keys ( #53 )
...
Keys are now released when
- A client disconnects and still has pressed keys
- A client disconnects through CTLR+ALT+SHIFT+WIN
- Lan Mouse terminates with keys still being pressed through a remote client
This is also fixes an issue caused by KDE's implementation of the remote desktop portal backend:
Keys are not correctly released when a remote desktop session is closed while keys are still pressed,
causing them to be permanently stuck until kwin is restarted.
This workaround remembers all pressed keys and releases them when lan-mouse exits or a device disconnects.
closes #15
2023-12-31 15:42:29 +01:00
Ferdinand Schober
0fffd5bb15
fix error handling in portchange
2023-12-27 23:44:40 +01:00
Ferdinand Schober
9c0cc98dc0
Remove duplicate code ( #60 )
2023-12-27 21:40:10 +01:00
Ferdinand Schober
e155819542
unix: send SIGTERM instead of killing the service ( #59 )
2023-12-27 19:56:43 +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
cdd3a3b818
Split tasks - event loop now properly asynchronous ( #57 )
...
DNS, etc. does no longer block the event loop
2023-12-23 14:46:38 +01:00
Ferdinand Schober
1cefa38543
hotfix: Dont stall the event loop if udp blocks
2023-12-22 17:45:20 +01:00
Ferdinand Schober
fed8e02d9f
Update dependencies ( #56 )
...
update wayland-client + reis
2023-12-22 14:50:12 +01:00
Ferdinand Schober
65a12735e2
add missing release() on event producer
2023-12-22 13:32:39 +01:00
Ferdinand Schober
3ac738fb52
fix formatting
2023-12-19 21:29:38 +01:00
Ferdinand Schober
2ac9277fb0
macos: impl relative mouse motion
...
this fixes mouse movement in games
2023-12-19 21:25:29 +01:00
Ferdinand Schober
d9fa86ef00
cli: wait for connection ( #55 )
2023-12-19 17:22:39 +01:00