You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Easy way to toggle on/off 'convert pointer movement to scroll' #1065
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
Reacted by Torma, Julian Kopf, matt-888, DrBones and Lululalu
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:
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.
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.
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.
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?
@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.
Activity
alextorma commentedon Jan 9, 2026
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:
First, what works well -- what I do use LinearMouse for is:
What I could use LinearMouse for:
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:
** (An alternate but acceptable use case for Button 7 would simply be
'Press & Hold' converts mouse movement to scrollwith 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.
qns7 commentedon Jan 23, 2026
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
Lululalu commentedon Feb 10, 2026
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.
Implement middle-button autoscroll (#1103)
azizi-a commentedon Sep 5, 2026
As a trackball user I agree. Autoscroll is helpful, but this would be a game changer
evanjsnow commentedon Sep 7, 2026
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.
anandghegde commentedon Sep 19, 2026
I'd like to implement this. Before I write any code, I'd like to agree on the config shape.
Proposed behaviour:
redirectsToScrolldoes today (the same deltas and the same fixed cursor inPointerRedirectsToScrollTransformer). On release, the pointer moves normally again.redirectsToScroll: truekeeps working as the always-on per-device mode.Two shapes I can see:
A. Add
redirectsToScrollTriggertoScheme.PointerinScheme/Pointer.swift. It would reuseScheme.Buttons.Mapping, the typeautoScroll.triggeralready uses, and appear in Pointer settings under the existing checkbox.B. Add a new mapping action (for example
pointer.redirectToScroll) inbuttons.mappingswith 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.
lujjjh commentedon Sep 19, 2026
@anandghegde Thanks for taking this on! I’d prefer option A, since this feels more like a pointer setting.
I think reusing
Mapping.Triggerand moving it to a shared location could be a good approach, rather than using the wholeMappingtype. This feature would only need a subset of whatTriggersupports, 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.Add a hold trigger for converting pointer movement to scroll (#1400)