[GH-ISSUE #6] Cant send keyboard inputs? #2

Closed
opened 2026-05-05 22:01:53 -06:00 by gitea-mirror · 9 comments
Owner

Originally created by @Xag8031 on GitHub (Apr 5, 2023).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/6

I am currently trying to use this to use 2 rigs with one keyboard and mouse on hyprland (wlroots based) but only my mouse seems to be sending properly. Any help as my configs are probably the problem? Files are attached, hopefully should be txt as github hates me and won't allow toml's
config.toml client
config.toml server

Originally created by @Xag8031 on GitHub (Apr 5, 2023). Original GitHub issue: https://github.com/feschber/lan-mouse/issues/6 I am currently trying to use this to use 2 rigs with one keyboard and mouse on hyprland (wlroots based) but only my mouse seems to be sending properly. Any help as my configs are probably the problem? Files are attached, hopefully should be txt as github hates me and won't allow toml's [config.toml client](https://github.com/ferdinandschober/lan-mouse/files/11154234/config.toml.txt) [config.toml server](https://github.com/ferdinandschober/lan-mouse/files/11154240/config.toml.txt)
Author
Owner

@feschber commented on GitHub (Apr 5, 2023):

If your mouse is working, the config is correct. I would assume that Hyprland currently does not support the virtual-keyboard protocol. I can give you more info once I test this myself.

<!-- gh-comment-id:1496923950 --> @feschber commented on GitHub (Apr 5, 2023): If your mouse is working, the config is correct. I would assume that Hyprland currently does not support the virtual-keyboard protocol. I can give you more info once I test this myself.
Author
Owner

@feschber commented on GitHub (Apr 5, 2023):

@Xag8031 can you give some more information? I just tested this and it works for me (writing this from my laptop on my Desktop using Hyprland on both).
Does the log say anything?

<!-- gh-comment-id:1496977080 --> @feschber commented on GitHub (Apr 5, 2023): @Xag8031 can you give some more information? I just tested this and it works for me (writing this from my laptop on my Desktop using Hyprland on both). Does the log say anything?
Author
Owner

@Xag8031 commented on GitHub (Apr 17, 2023):

Sorry to get back to you so late. I don't see any log files and it doesn't show any errors.

<!-- gh-comment-id:1511651211 --> @Xag8031 commented on GitHub (Apr 17, 2023): Sorry to get back to you so late. I don't see any log files and it doesn't show any errors.
Author
Owner

@Xag8031 commented on GitHub (Apr 17, 2023):

Sorry to get back to you so late. I don't see any log files and it doesn't show any errors.

<!-- gh-comment-id:1511651769 --> @Xag8031 commented on GitHub (Apr 17, 2023): Sorry to get back to you so late. I don't see any log files and it doesn't show any errors.
Author
Owner

@feschber commented on GitHub (Apr 17, 2023):

When you run it, it should print "Connecting to {client} done!".
Can you verify this is the case on both devices and shows the correct ip adresses?

Make sure you allow the respective ports for both udp and tcp connections in your firewall in case you are using one.

Also please try using the same port on both devices to rule that out.

The version of Hyprland and exact commit of lan-mouse you are using would be useful as well, so I can try to reproduce this.

<!-- gh-comment-id:1511858479 --> @feschber commented on GitHub (Apr 17, 2023): When you run it, it should print "Connecting to {client} done!". Can you verify this is the case on both devices and shows the correct ip adresses? Make sure you allow the respective ports for _both_ udp and tcp connections in your firewall in case you are using one. Also please try using the same port on both devices to rule that out. The version of Hyprland and exact commit of lan-mouse you are using would be useful as well, so I can try to reproduce this.
Author
Owner

@Xag8031 commented on GitHub (Apr 27, 2023):

Okay, I think I got it to work thank you.

<!-- gh-comment-id:1526113433 --> @Xag8031 commented on GitHub (Apr 27, 2023): Okay, I think I got it to work thank you.
Author
Owner

@feschber commented on GitHub (Apr 29, 2023):

Do you know what the issue was or what exactly fixed the problem?

<!-- gh-comment-id:1528751755 --> @feschber commented on GitHub (Apr 29, 2023): Do you know what the issue was or what exactly fixed the problem?
Author
Owner

@Xag8031 commented on GitHub (May 3, 2023):

I think it was slow data transfer. I got a better Ethernet cable to hook them together and it worked.

<!-- gh-comment-id:1533869465 --> @Xag8031 commented on GitHub (May 3, 2023): I think it was slow data transfer. I got a better Ethernet cable to hook them together and it worked.
Author
Owner

@feschber commented on GitHub (May 4, 2023):

That sounds like something I should investigate. Thank you for your feedback!

<!-- gh-comment-id:1534036583 --> @feschber commented on GitHub (May 4, 2023): That sounds like something I should investigate. Thank you for your feedback!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/lan-mouse#2
No description provided.