7

On my Mac, I have a Windows partition that I can either directly boot into (with Boot Camp) or run as a virtual machine (with VMWare Fusion). I set up Windows to reverse the scroll direction of my mouse. This works when I'm running Windows in Boot Camp. But when I'm in VMWare, the scroll direction is reversed twice — once by Windows and once by macOS — which puts it back to regular scrolling.

How can I set this up to have natural scrolling in Windows in both Boot Camp and VMWare?

3
  • You may want to clarify your question, because the two answers posted so far I do not believe will solve you problem. What will solve your problem is to revert to normal settings within Windows while running as a virtual machine. That way both macOS and Windows in the virtual machine will function the same based on the mouse settings in macOS. At a minimum you could manually run a script from within Windows or find a way to automate it based on which environment it booted to, Boot Camp or virtual machine. Aug 4, 2017 at 15:48
  • It's been to long since I ran Windows natively (Boot Camp) and it as a VM (Boot Camp as a VM) but I do remember there was a way to programmatically determine which environment it was and programmatically act accordingly. IIRC It had to do with checking if some function of VMware Tools was running, as it only ran when run as a VM, not while in Boot Camp. The program I wrote was placed in the Startup Group, checked which environment and then made some changes accordingly. Aug 4, 2017 at 15:48
  • What version of Windows are you running? Aug 4, 2017 at 18:00

4 Answers 4

6

Fortunately the HID device ids used when running bootcamp natively and running it under a VM (at least under the Parallels VM I use) are different. Here is what I did on Windows 10

  1. Boot natively.
  2. Identify the device ID's in use from the Mouse Control Panel
    • Start->Settings. Click on Devices. Click on Mouse. Click "Additional mouse options"
    • Click on the Hardware tab. You should see "HID compliant mouse" You may see more than one if you also have, e.g, a Magic Trackpad. Only the devices in use will appear here. In this case this means only those used when running natively.
    • Select each device and click the Properties button.
    • In the properties windows,, click the Events tab. The device ID is given in the Information box at the bottom.
  3. Find each device in regedit (run it as Administrator). They are at HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters replacing the *'s with the ID you get from the mouse control panel.

  4. Change the values of the FlipFlopWheel and FlipFlopHScroll properties to 1.

The command you used from https://superuser.com/a/364353 changes all HID devices in the registry having a FlipFlopWheel property. Unfortunately I haven't figured out any automated way to identify just those currently in use hence the manual method above.

If you've already run the script and set all devices to flip-flop, boot in the VM, follow the steps above to identify the "mouse" devices in use and change their FlipFlopWheel and FlipFlopHScroll properties back to 0.

0
1

In system preferences, mouse, there is a check box to set the scrolling direction. This sets it for all apps though. I don't know of a way to set it for specific apps.

1

Same question as this: Inverting direction of mouse scroll wheel

Answer is clear in the responses of that link and please have a try. It works for me:

Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0 | ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopWheel 1 }
1
  • Hi and welcome to Ask Different! Thanks for posting the solution. I’ve been looking for a natural scrolling fix for months myself.
    – Synoli
    Feb 8, 2020 at 5:49
0

Try Scroll Reverser. While it's not automatic, it allows you to reverse your scrolling direction from the menu bar icon easily. Unfortunately the app doesn't support activating/deactivating it using a keyboard shortcut, but you can likely use AppleScript to set a keyboard shortcut for it.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .