PoshCode Archive  Artifact [82e39da4e9]

Artifact 82e39da4e936972523878923c1118d61c5928781ec3f94943a1883f562636cc8:

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

# 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: 6734
# x-archived: 2017-02-18T06:33:27
# x-published: 2017-02-15T06:25:00
#
#
Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0 | 
ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopWheel 1 }