Skip to content

Instantly share code, notes, and snippets.

@jrussellsmyth
Created October 23, 2022 20:46
Show Gist options
  • Select an option

  • Save jrussellsmyth/b2962f7ea7a4512b8a61772c6e9a7b5b to your computer and use it in GitHub Desktop.

Select an option

Save jrussellsmyth/b2962f7ea7a4512b8a61772c6e9a7b5b to your computer and use it in GitHub Desktop.
invert windows mouse wheel
Get-PnpDevice -Class Mouse -PresentOnly -Status OK | ForEach-Object { "$($_.Name): $($_.DeviceID)"; Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Enum\$($_.DeviceID)\Device Parameters" -Name FlipFlopWheel -Value 1;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment