Skip to content

Easy way to toggle on/off 'convert pointer movement to scroll' #1065

Closed

Description

@evanjsnow

OS

macOS 26.2 (Build 25C56)

LinearMouse

v0.10.2

Is your feature request related to a problem?

My problem is that I hate scroll wheels, they really bother my fingers, even the infinite scrolling type. Another problem is when Mac Finder is in columns and I need to horizontally scroll, I have no way to do this. I want a better way to scroll that doesn't hurt my finger and includes horizontal scrolling.

Describe the solution you'd like

I really love the 'convert pointer movement to scroll events' feature, but there's no easy way to turn it on and off. I've tried using other tools to execute scripts to update the linearmouse settings file, but the app doesn't seem to register the change. I've actually added a second mouse to my desk and configured that one to scroll with movement, but I don't like it for a long term solution. What I think would be ideal is:

  • scroll wheel works as normal when rotating
  • click + hold scroll wheel mouse turns into scrolling with movement device
  • release scroll wheel mouse returns to normal

Describe alternatives you've considered

Other ways it could be handled are with a modifier key, but I like to take my hand off the keyboard when I'm reading something, it helps me disengage from "input mode" and focus on the content. Mapping a mouse button to toggle the mode on/off with a click would also work.

The most simple thing that would satisfy the request is just to add a keyboard shortcut to toggle it ON. You already have one to toggle it OFF. I can configure my mouse wheel click to execute those commands and then I'm happy.

THANK YOU!!!

Additional context

No response

Activity

  1. added
    enhancement
    on Jan 9, 2026
  2. alextorma commented on Jan 9, 2026

    @alextorma

    I'm adding onto this instead of starting a new feature request, because my idea is related.

    I have a trackball mouse with 8 buttons: I have to use Karabiner to map it instead of LinearMouse because LinearMouse seems to have one glaring limitation.

    What is left stock on the mouse:

    • Button 1: Left Click
    • Button 2: Right Click
    • Button 3: Middle (Scroll Wheel) Click

    First, what works well -- what I do use LinearMouse for is:

    • Universal Back/Forward Buttons (Buttons 4 & 5, respectively)
    • Changing the scroll mode from 'accelerated' to 'by lines' or 'by pixel' (because scroll acceleration messes with converting mouse movement to scroll... more on that later).

    What I could use LinearMouse for:

    • Button 6: Show Desktop
    • Button 8: Mission Control

    However, I don't use LinearMouse for these and instead I use Karabiner, simply because I necessarily have to use Karabiner for the following button4, so I may as well set up all the mouse keys using Karabiner while I'm at it:

    • Button 7: 'Double Click' opens Launchpad, 'Press & Hold' converts mouse movement to scroll
      ** (An alternate but acceptable use case for Button 7 would simply be 'Press & Hold' converts mouse movement to scroll with no Launchpad activation, but this is also impossible using LinearMouse).

    So it would be great if we could have a held button toggle the mouse movement to scroll effect, but it would also be great if there was a way we could toggle between the different scroll modes without opening up the app.

  3. qns7 commented on Jan 23, 2026

    @qns7

    I would also really like a modifier option for the "Convert pointer movement to scroll events" function.

    Using a trackball with this feature is awesome.

    I tried this little app: https://github.com/emreyolcu/drag-scroll?tab=readme-ov-file which does it pretty well, but it interferes with another app I use; and how the "locking" of the cursor behaves when using the dedicated modifier for something else then "drag-scrolling" isn't quite optimal.
    And of course: since I already use and love linaermouse, which already has the feature built-in, a modifier-hold-solution in there would be perfect.

    PS: I also posted this in Discussion/Ideas: #1072

  4. Lululalu commented on Feb 10, 2026

    @Lululalu

    Agreed. This would improve the app a lot for trackball users, specially those with defective scroll wheels/rings, or those who do a lot of panning.

  5. added a commit that references this issue on Mar 19, 2026
  6. azizi-a commented on Sep 5, 2026

    @azizi-a

    As a trackball user I agree. Autoscroll is helpful, but this would be a game changer

  7. evanjsnow commented on Sep 7, 2026

    @evanjsnow
    Author

    Hi @azizi-a and @Lululalu and @qns7 - just FYI that this feature is available in SteerMouse, and @azizi-a I can confirm it works with a trackball, they even have a way to distinguish between regular mouse and trackball movement. I've set button 4 on the gameball trackball to work as my hold/scroll button. Some of the buttons work as a toggle click on and click off for scrolling, I actually prefer the hold/drag & scroll, I'm not sure why the difference, though. Sorry, LinearMouse! Don't mean to promote your competition, just trying to help folks out with a feature that I use constantly now, I really like being able to scroll this way, it's vastly more comfortable.

    Image
  8. anandghegde commented on Sep 19, 2026

    @anandghegde
    Contributor

    I'd like to implement this. Before I write any code, I'd like to agree on the config shape.

    Proposed behaviour:

    • While the trigger is held, pointer movement becomes scrolling exactly as redirectsToScroll does today (the same deltas and the same fixed cursor in PointerRedirectsToScrollTransformer). On release, the pointer moves normally again.
    • The trigger can be a mouse button, a button plus modifiers, or a modifier alone (for example, holding Option). The trigger button press is consumed, so it doesn't also click.
    • Without a trigger, redirectsToScroll: true keeps working as the always-on per-device mode.
    • This is separate from Auto Scroll's hold mode, which scrolls at a speed based on distance from an anchor. This feature maps movement 1:1.
    • Out of scope: a global shortcut or menu-bar toggle for the always-on mode.

    Two shapes I can see:

    A. Add redirectsToScrollTrigger to Scheme.Pointer in Scheme/Pointer.swift. It would reuse Scheme.Buttons.Mapping, the type autoScroll.trigger already uses, and appear in Pointer settings under the existing checkbox.
    B. Add a new mapping action (for example pointer.redirectToScroll) in buttons.mappings with hold semantics, so it's set up in the Buttons tab like other actions.

    @lujjjh, which shape do you prefer? Should modifier-only triggers be allowed, given they could clash with the modifier + scroll settings? And do you want a toggle mode (click on, click off) as well, or just hold for now?

    I'll open a PR once you've picked one.

  9. lujjjh commented on Sep 19, 2026

    @lujjjh
    Collaborator

    @anandghegde Thanks for taking this on! I’d prefer option A, since this feels more like a pointer setting.

    I think reusing Mapping.Trigger and moving it to a shared location could be a good approach, rather than using the whole Mapping type. This feature would only need a subset of what Trigger supports, though. Longer term, it might make sense to split it into more specialized trigger types, but that probably doesn’t need to be solved right now.

  10. added a commit that references this issue on Sep 25, 2026
    fc7d920
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions