27 October 2012

Windows: Invert Mouse Scroll Wheel

If you would like to invert Mouse Scroll Wheel on Windows you need to edit a registration key.

  1. Go to Control Panel, mouse, click the Hardware tab then click properties
  2. Disable mice one by one until you discover which one you are using (use keyboard Shift F10 to re-enable)
  3. In the mouse Properties window click the details tab and select the "Device Instance Path" property. That is the registry path.
  4. Open regedit.exe and navigate to the following key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HID\VID_???\????\Device Parameters\FlipFlopWheel
  5. Set the parameter to 1.
I had to unplug and plug back in my mouse for this to take effect.

UPDATE: Alternative solution is to use PowerShell as administrator:
# View registry settings
Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0

# Change registry settings
# Reverse mouse wheel scroll FlipFlopWheel = 1
# Normal mouse wheel scroll FlipFlopWheel = 0
Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0 | ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopWheel 1 }

Write-Host "Mouse scroll wheel updated. New values are:"

# View registry settings
Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0

No comments:

Post a Comment