Scroll wheel randomly changes its function from zoom to pan

Next
 From:  Pineapple (GOHODU)
11131.1 

Hi Michael,

I recently migrated from MoI V4 for Windows to MoI V5 for Mac. I intended to use my right hand for zooming and rotating with the mouse, and my left hand for panning with the trackpad for an efficient workflow.

But whenever I use the trackpad for panning, the function of the scroll wheel on the mouse immediately switches from zoom to pan. So when I scroll the mouse wheel upwards, instead of zooming in like before, it pans downward.

The only solution(which is not permanent) I found was to save the project, restart Moi, and reconnect the mouse. I also tried disconnecting and reconnecting the mouse without restarting MoI, but it only recovers its zoom function for about two or three seconds. After that, it pans.

I considered the possibility that the trackpad input might be interfering with the mouse input, so I even tried enabling the "Disable built-in trackpad when mouse or wireless trackpad is present" option at the system settings, but even with the trackpad disabled, the scroll still occasionally switches to pan.

I can't find anything about scroll function preferences at settings menu, so I'm curious how to retain my scroll to work just for zooming in and out?

Don

EDITED: 22 Jun 2023 by GOHODU

Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11131.2 In reply to 11131.1 
Hi Don, this is kind of a general problem on Mac that there isn't an ironclad way to differentiate a trackpad scroll from a mouse wheel scroll, they both send the same type of scroll message. It makes it difficult to make them do different things.


MoI v5 tries to differentiate them by looking a property on the event called "hasPreciseScrollingDeltas" and if that is present it decides that it's a trackpad or magic mouse (trackpad-like mouse thing) and not a mouse scroll wheel.

When your mouse switches to panning behavior I guess it must be reporting hasPreciseScrollingDeltas at that time.


Do you see any difference in behavior if you set UseTrackpadScrollAsMouseWheel=y in moi.ini ? Go to Options > General > "Edit .ini file" button to edit moi.ini . If you set that then the mouse should stay consistent in behavior I think.


I have heard from someone before that they had some behavior like this that was tied to a particular mouse. Do you have any other brand mouse around that you could try with instead of that one?


You may not be able to use both the trackpad and the mouse at the same time with that particular mouse.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11131.3 In reply to 11131.1 
Hi Don, also if there are any settings for your mouse that says something like "scroll line by line" instead of "smooth pixel scrolling", changing that might help.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11131.4 In reply to 11131.1 
Also, did you install a driver for this mouse? If so you might try removing that so a generic mouse driver would get used instead.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Pineapple (GOHODU)
11131.5 In reply to 11131.2 
Hi Michael, apologies for the late reply. I've been busy setting up a new workspace, so I couldn't try your advice for a while.

The UseTrackpadScrollAsMouseWheel method works perfectly! Now the mouse wheel will never change its function randomly.

My Logitech mouse operates separately through an additional driver, but for now, it seems to be working perfectly fine, so I think there's no need to consider deleting it. If scroll function issues arise again in the future, I'll try deleting it and check whether it is set to smooth pixel scrolling or not.

Thanks!

- Don
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All