Skip to content

Instantly share code, notes, and snippets.

@gagarine
Last active September 5, 2025 13:43
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.

Revisions

  1. gagarine revised this gist Oct 9, 2022. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions win11-mouse-scroll-reverse.md
    Original file line number Diff line number Diff line change
    @@ -27,6 +27,7 @@ Your settings will take effect after you restart.

    ## Step 5 (optional)
    Give yourself a favor and <a href="https://www.apple.com/shop/buy-mac">buy a Mac</a>.

    ![image](https://user-images.githubusercontent.com/164074/194762557-9cb66df2-b0f8-4474-8afb-0d2ff9c5821b.png)


  2. gagarine revised this gist Oct 9, 2022. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions win11-mouse-scroll-reverse.md
    Original file line number Diff line number Diff line change
    @@ -25,5 +25,10 @@ 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 <a href="https://www.apple.com/shop/buy-mac">buy a Mac</a>.
    ![image](https://user-images.githubusercontent.com/164074/194762557-9cb66df2-b0f8-4474-8afb-0d2ff9c5821b.png)


    ## Info
    Source: https://answers.microsoft.com/en-us/windows/forum/all/reverse-mouse-wheel-scroll/657c4537-f346-4b8b-99f8-9e1f52cd94c2
  3. gagarine renamed this gist Oct 9, 2022. 1 changed file with 0 additions and 0 deletions.
  4. gagarine renamed this gist Oct 9, 2022. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. gagarine created this gist Oct 9, 2022.
    29 changes: 29 additions & 0 deletions instruction.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,29 @@
    # 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.

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