Skip to content

Instantly share code, notes, and snippets.

@FarisHijazi
Created September 22, 2020 21:04
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 FarisHijazi/ad755c6b8f5d75c3efdae4a12d0cb606 to your computer and use it in GitHub Desktop.
Save FarisHijazi/ad755c6b8f5d75c3efdae4a12d0cb606 to your computer and use it in GitHub Desktop.
AutoHotkey script to bind mousewheel-up to spacebar, for bunny hopping in video games
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#SingleInstance, force
~*wheelup::
sendinput, {Space}
Return
@FarisHijazi
Copy link
Author

basically this is an autohotkey script (only supported for windows but there are alternatives). download autohotkey and put the script in a .ahk file and then double click it, it should use autohotkey to run it, once you have that, you should see a green tray icon, then it should be running

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment