Skip to content

Instantly share code, notes, and snippets.

@TeroKeso
Created October 13, 2024 05:09
Show Gist options
  • Save TeroKeso/a81a65c4afc2ed343a77d5973fb00c8e to your computer and use it in GitHub Desktop.
Save TeroKeso/a81a65c4afc2ed343a77d5973fb00c8e to your computer and use it in GitHub Desktop.
How to reverse bootcamp Windows trackpad scroll direction on Mac

By Jason Go

$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" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment