Skip to content

Instantly share code, notes, and snippets.

@gagarine
Last active May 15, 2024 18:30
Show Gist options
  • Save gagarine/d313ee6510009b3f3973c6e0929b1e1c to your computer and use it in GitHub Desktop.
Save gagarine/d313ee6510009b3f3973c6e0929b1e1c to your computer and use it in GitHub Desktop.
Reverse Mouse Wheel scroll in Windows 11 (Natural Mode like MacOS)

Reverse Mouse Wheel scroll in Windows 11

Chose between natural mode like MacOS or Windows default mode.

Step 1: Open Windows PowerShell in Administrator Mode.

You can do this by going to Start Menu, type PowerShell, and click Run as Administrator.

Step 2: Copy the following code and paste it in the command line of Windows PowerShell:

$mode = Read-host "How do you like your mouse scroll (0 or 1)?"; Get-PnpDevice -Class Mouse -PresentOnly -Status OK | ForEach-Object { "$($_.Name): $($_.DeviceID)"; Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Enum\$($_.DeviceID)\Device Parameters" -Name FlipFlopWheel -Value $mode; "+--- Value of FlipFlopWheel is set to " + (Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Enum\$($_.DeviceID)\Device Parameters").FlipFlopWheel + "`n" }

The code above is one-liner PowerShell script. Copy-paste it as-is.

Step 3: It will ask how do you like your mouse to scroll.

Downward wheel motion makes the page...

0 - Move up so you see contents below (Default Mode, Windows behavior)

1 - Move down so you can see contents above (Natural Mode, Mac behavior, reverse mode)

Type the number that corresponds to your scroll preference.

Step 4: Restart your computer.

Your settings will take effect after you restart.

Step 5 (optional)

Give yourself a favor and buy a Mac.

image

Info

Source: https://answers.microsoft.com/en-us/windows/forum/all/reverse-mouse-wheel-scroll/657c4537-f346-4b8b-99f8-9e1f52cd94c2

@Markeedoo
Copy link

Bro you rock ! much appreciated !

@justinharbour
Copy link

THANK YOU!!!

@B3rNy2531
Copy link

Thank you very much friend, now I want to change some things on my keyboard to make it the same as Apple.starting with copy and paste.

@cgorshing
Copy link

I use something similar and used the same source.

But I also wanted a way to be selective on which mouse I wanted to change. So I came up with the following script which relies on you unplugging the mouse. So it can compare and see which ones you want to modify.

https://gist.github.com/cgorshing/f89406ff2cc4ffd68d5138ac80e80d0a

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