PoshCode Archive  Artifact [af236e909b]

Artifact af236e909bb15f6a16a115ca67ebf7f083d33eb42455bbb0abbd2dc7c254118d:

  • File Invert-MouseWheel.ps1 — part of check-in [1e20d778f6] at 2018-06-10 13:29:18 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: 3680
# x-archived: 2016-09-16T17:55:22
# x-published: 2013-10-05T07:45:00
#
#
Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0 | 
  ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopWheel 1 }