Skip to content

[WIP] Scale client mouse speed#9434

Draft
sithlord48 wants to merge 1 commit intomasterfrom
scaleClientMouseSpeed
Draft

[WIP] Scale client mouse speed#9434
sithlord48 wants to merge 1 commit intomasterfrom
scaleClientMouseSpeed

Conversation

@sithlord48
Copy link
Copy Markdown
Member

@sithlord48 sithlord48 commented Feb 6, 2026

REQUIRES: #9433

Description

** BROKEN ATM **
This approach does not work since applying it to FakeMouseMove seams to reduce the % of the screen you can access on the client (0.5 = half height and half width of the screen ) .

Adding this to the relative movements seams to work. Relative movements seam to only be enable if you are locked to a screen (have we documented this somewhere)

Remove the use of the DESKFLOW_MOUSE_SCALE

  • Adds Mouse speed scaling to mouseMovements,
    • New: Settings::CursorMovementScale (def 1.0 range 0.1-10.0)
    • New: ISecondaryScreen::applyCursorMoveScale applies the scale
    • Use applyCursorMoveScale in FakeMouseMove
    • Todo: Use applyCursorMoveScale in FakeMouseMove

Related Issue

fixes: #8207

How Has This Been Tested?

Test Plan:

  • Check scale is not applied to the server
  • Check on Wayland Client
  • Check on X11 Client
  • Check on Windows Client
  • Check on macOS Client

@sithlord48 sithlord48 requested a review from a team February 6, 2026 18:37
@sithlord48 sithlord48 requested a review from nbolton as a code owner February 6, 2026 18:37
@sithlord48 sithlord48 marked this pull request as draft February 6, 2026 18:37
@sithlord48 sithlord48 force-pushed the scaleClientMouseSpeed branch from 9517728 to 85892d8 Compare February 6, 2026 18:40
@sithlord48 sithlord48 added ✨ enhancement A suggested change to improve functionality 🪄 feature request This PR adds a requested feature labels Feb 6, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 6, 2026

CI Summary

Test result

❌🔬 Tests failed: 38

OS Unit tests Legacy tests
archlinux-x86_64 ✅ Pass ✅ Pass
debian-arm64 ✅ Pass ✅ Pass
debian-testing-arm64 ✅ Pass ✅ Pass
debian-testing-x86_64 ✅ Pass ✅ Pass
debian-x86_64 ✅ Pass ✅ Pass
fedora-42-arm64 ✅ Pass ✅ Pass
fedora-42-x86_64 ✅ Pass ✅ Pass
fedora-43-arm64 ✅ Pass ✅ Pass
fedora-43-x86_64 ✅ Pass ✅ Pass
macos-arm64 ✅ Pass ✅ Pass
macos-x64 ✅ Pass ✅ Pass
opensuse-arm64 ✅ Pass ✅ Pass
opensuse-x86_64 ✅ Pass ✅ Pass
ubuntu-25.10-arm64 ✅ Pass ✅ Pass
ubuntu-25.10-x86_64 ✅ Pass ✅ Pass
ubuntu-26.04-arm64 ✅ Pass ✅ Pass
ubuntu-26.04-x86_64 ✅ Pass ✅ Pass
windows-2022-arm64 ✅ Pass ✅ Pass
windows-2022-x64 ✅ Pass ✅ Pass

Full summary (scroll down)

@sithlord48 sithlord48 force-pushed the scaleClientMouseSpeed branch from 85892d8 to 9101f03 Compare February 9, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ enhancement A suggested change to improve functionality 🪄 feature request This PR adds a requested feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow Mouse Scaling per client

1 participant