Skip to content

Simulate Magic Mouse / Magic Trackpad features #895

Closed as not planned
Closed as not planned

Description

@fuweichin

OS

macOS 15.2 (Build 24C101)

LinearMouse

v0.10.0

Is your feature request related to a problem?

I cannot use any PC mice (those without extra customizable buttons) to open Mission Control, or to switch virtual desktops.

Describe the solution you'd like

1. Simulate trackpad 3-finger/4-finger swipping by dragging mouse middle button

Since LinearMouse app can "Convert back and forward side buttons to swipping gestures", I assume it's possible to simulate trackpad 3-finger/4-finger swipping by dragging mouse middle button, thus a PC mouse may work like Magic Mouse / Magic Trackpad:

mouse action trackpad gesture to simulate macOS action to trigger
middle button dragging up / down n-finger moving up/down (3≤n≤4) Open Mission Control / Show app windows
middle button dragging left/right n-finger moving left/right (3≤n≤4) Move to left/right desktop/fullscreen-app
middle button pressed and wheel up / down n-finger pinch (3≤n≤4) Open Launchpad / Show desktop
middle button pressed and wheel left / right 2-finger rotate Preview: rotate image

and further more:

mouse action trackpad gesture to simulate macOS action to trigger
command key pressed and wheel up / down Safari: Zoom page
control key pressed and wheel up / down 2-finger pinch Safari: Pinch-zoom viewport
option key pressed and wheel up / down / left / right Fast scroll (3x speed)
shiftoption keys pressed and wheel up / down / left / right Precise scroll (0.333333x speed)

Notes:

  • a). Keep middle button click as is if no specific gestures recognized. (intecept mouse middle button down and dispatch button down until button up)
  • b). Gestures to simulate should be synchronized with mouse moving/scrolling thus to ensure reactive transition
  • c). 3-finger/4-finger gesture simulation should be configurable as user preferred in System Settings

2. Simulate smooth scrolling for detent-scrolling PC mouse

Unlike Apple Magic Mouse (or Microsoft Precision Mouse) which is designed for smooth scrolling, most PC mice use detent scroll wheels. Mac apps like Mos, Smooze Pro can convert detent-scrolling to smooth-scrolling, but I'm afraid they cannot work together with LinearMouse due to conflict. So I think LinearMouse app may simulate smooth scroll like what Chromium browser enabled by default.

With features above, a PC mouse can be as magic as Magic Mouse.

BTW: I paid $30 to buy a mouse (SANWA SUPPLY GMAWBT207), I'd like to pay another $10 for a companion software (maybe LinearMouse Pro) to impove user experience without hardware changs.

Describe alternatives you've considered

Mac Mouse Fix has implemented the described macOS actions above, but I don't like its button bindings due to not easy-to-operate.

Additional context

No response

Activity

  1. added
    enhancement
    on Feb 22, 2025
  2. landsman commented on Feb 24, 2025

    @landsman

    This would be really nice

  3. fuweichin commented on Feb 25, 2025

    @fuweichin
    Author

    This issue covers enhancements described by #874, #858, #850, #610, #403, #397, #44. It's so demanding thus a proof of concept should be crafted first, no matter open-source or commercial.

  4. dmiyamasu commented on Apr 8, 2025

    @dmiyamasu

    Agreed - can we see a PoC for this functionality?

  5. github-actions commented on Jun 30, 2025

    @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.

  6. github-actions commented on Jul 6, 2025

    @github-actions
    Contributor

    This issue was closed because it has been stalled for 5 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Staleenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions