Skip to content

Instantly share code, notes, and snippets.

@101v
Created January 18, 2017 21:19
Show Gist options
  • Save 101v/4ded69398369f78962681e8ff00a5d1d to your computer and use it in GitHub Desktop.
Save 101v/4ded69398369f78962681e8ff00a5d1d to your computer and use it in GitHub Desktop.
Powershell script to enable natural scrolling in Windows
# 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 }
# Restore default scroll direction
# Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 1 | ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopWheel 0 }
@tamtm
Copy link

tamtm commented Oct 1, 2020

this does work in my thinkpad (t410) somehow, but the value changed

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