PoshCode Archive  Artifact [9f78f4b241]

Artifact 9f78f4b2410eb848c306b15904ba00a9daa7e2ce42f5549af4b31becf6dee5a0:

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

# 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: 6703
# x-archived: 2017-01-24T08:34:37
# x-published: 2017-01-19T16:54:00
#
#
Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0 | 
ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopWheel 1 }
}