mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-05-15 14:15:52 -06:00
[GH-ISSUE #351] layer-shell input capture with touchpad producing unusable high sensitivity on client #179
Labels
No labels
Xorg
documentation
enhancement
macos
pull-request
question
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/lan-mouse#179
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CrypticEntity on GitHub (Nov 9, 2025).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/351
Laptop 1: gentoo (plasma 6)
Laptop 2: nixos (plasma6/hyprland)
using latest git version
I assume the issue is with layer-shell as input-capture-portal works fine in plasma and forcing layer-shell in plasma creates the same issue I had using hyprland.
My nixos laptop is much higher resolution and decreasing the client resolution (gentoo) makes the sensitivity higher from what I can tell.
Swapping to gentoo as host, controlling nixos, the sensitivity is lower, but still much higher then the host. Changing the libinput sensitivity doesn't seem to change anything on the client. I tried an external mouse and it has a reasonable sensitivity by default.
Is there any way to change the sensitivity?
@feschber commented on GitHub (Nov 10, 2025):
Currently in the works! #347
Changing the resolution shouldn't influence the sensitivity, so this is a bug.
Could you clarify what you mean by "client" and "decreasing resolution"?
@CrypticEntity commented on GitHub (Nov 10, 2025):
By client I mean the device I'm controlling, by decreasing resolution I mean changing 1080p->720p
I did some testing and don't think its got to do with the resolution. When using the computer without lan-mouse, (in plasma/hyprland) changing resolution or screen scale changes the effective sensitivity. Eg. changing 1080p->720p and 100%->200% screen scaling massively increases the effective mouse/touchpad sensitivity.
Retesting using gentoo to control nixos, the sensitivity is seems pretty normal when I have similar screen scaling.
Since my nixos laptop is a macbook (asahi), my best guess at this point is just weird driver issues, since the only time I get this massive sensitivity using lan-mouse is when I use the macbook touchpad to control another computer.
The pull request for pre-processing would probably half fix this because since layer-shell does not respect host sensitivity options, I wouldn't be able to change it to suit both the external mouse and touchpad. Not sure what a better fix would be though as I don't understand the inner workings of layer-shell.
@feschber commented on GitHub (Nov 10, 2025):
Yeah the effective sentitivity changing is expected because the mouse movement is usually done in pixels / logical pixels for scaled outputs. I'm also planning to add separate sensitivity settings for mouse and touchpads which should cover your usecase.