PoshCode Archive  Artifact [f99083e300]

Artifact f99083e30040201915fae58eef002aa3afab0b285dd084bc85c352618a9659ff:

  • File Invert-MouseWheel.ps1 — part of check-in [a07fbd9157] at 2018-06-10 14:19:32 on branch trunk — Inverts the mouse wheel scrolling in Windows (to match the way it works in OS X) (user: Joel Bennett size: 488)

# encoding: ascii
# api: powershell
# title: Invert-MouseWheel
# description: Inverts the mouse wheel scrolling in Windows (to match the way it works in OS X)
# version: 0.1
# author: Joel Bennett
# license: CC0
# x-poshcode-id: 6702
# x-archived: 2017-01-25T08:12:08
# x-published: 2017-01-19T16:45:00
#
#
Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0 | 
  ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopWheel 1 }