Skip to content

Instantly share code, notes, and snippets.

@liuyigh
Last active June 15, 2023 04:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liuyigh/f20ba8686938dc6e49a7ae4e22f24ea7 to your computer and use it in GitHub Desktop.
Save liuyigh/f20ba8686938dc6e49a7ae4e22f24ea7 to your computer and use it in GitHub Desktop.
AutoHotKey v2 natural (reverse) mouse scrolling for Windows
#Requires AutoHotkey v2.0
#UseHook 1 ; Enable MouseHook to capture scrolling anywhere in Windows
WheelUp:: {
SendInput "{WheelDown}"
Return
}
WheelDown::{
SendInput "{WheelUp}"
Return
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment