Skip to content

Negative pointer speed for Magic Mouse #487

Closed

Description

OS

macOS 13.4 (Build 22F66)

LinearMouse

v0.9.1

Describe the bug

When using the Apple Magic Mouse (Model A1657), the default pointer speed reported by LinearMouse is negative (-0.0086).

Screenshot of LinearMouse settings

To reproduce

  1. Connect a Magic Mouse (A1657)
  2. Open LinearMouse
  3. Go to the Pointer tab
  4. Move the mouse so it automatically switches to it

Expected behavior

The pointer speed should be a non-negative value.

Anything else?

No response

Activity

  1. ghost added
    bug
    on Jun 2, 2023
  2. lujjjh commented on Jun 3, 2023

    @lujjjh
    Collaborator

    Thank you for your feedback!

    This is a known issue. Due to the implementation of macOS, the pointer speed can be infinitely small. I've designed an algorithm to linearly map the speed within a certain range to between 0 and 1, so that adjusting the speed is more intuitive. However, it's clear that I overestimated the default speed of the Magic Mouse.

    Adjusting this algorithm would be a breaking change, so I haven't fixed it yet. Maybe I can do this in the next major version. However, this won't break any functionalities. In fact, you can manually set the pointer speed to a value lower than 0 or greater than 1 to achieve a slower or faster speed.

  3. github-actions commented on Aug 2, 2023

    @github-actions
    Contributor

    This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.

  4. lujjjh commented on Aug 2, 2023

    @lujjjh
    Collaborator

    I would leave this issue open.

  5. self-assigned this
    on Aug 2, 2023
  6. added a commit that references this issue on Nov 21, 2026
    a75a121
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions