Created
August 21, 2022 01:39
-
-
Save yujinlin0224/8d538e3c6f324764b88159314278dd52 to your computer and use it in GitHub Desktop.
Make all mice in Windows scrolling like macOS (natural/reverse mouse scrolling)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-ChildItem 'HKLM:\SYSTEM\CurrentControlSet\Enum\HID' -Include 'Device Parameters' ` | |
-Recurse -Depth 2 -ErrorAction 'SilentlyContinue' | | |
Select-Object -ExpandProperty PSPath | | |
Where-Object { (Get-Item $_).Property -Contains 'FlipFlopWheel' } | | |
ForEach-Object { Set-ItemProperty $_ 'FlipFlopWheel' -Value 1 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment