Skip to content

Instantly share code, notes, and snippets.

@user65898588
Created July 9, 2017 16:52
Show Gist options
  • Save user65898588/cf8be34f7e27f752755452572933620e to your computer and use it in GitHub Desktop.
Save user65898588/cf8be34f7e27f752755452572933620e to your computer and use it in GitHub Desktop.
#InstallKeybdhook
#usehook
F1::Suspend
F5::Reload
$a::
Send {a down}
Return
$a up::
Send {a up}
Return
~a & d::
Send {a up}{d down}
Return
~a & d up::
Send {d up}
if (GetKeyState("a", "P"))
Send {a down}
Return
$d::
Send {d down}
Return
$d up::
Send {d up}
Return
~d & a::
Send {d up}{a down}
Return
~d & a up::
Send {a up}
if (GetKeyState("d", "P"))
Send {d down}
Return
$w::
Send {w down}
Return
$w up::
Send {w up}
Return
~w & s::
Send {w up}{s down}
Return
~w & s up::
Send {s up}
if (GetKeyState("w", "P"))
Send {w down}
Return
$s::
Send {s down}
Return
$s up::
Send {s up}
Return
~s & w::
Send {s up}{w down}
Return
~s & w up::
Send {w up}
if (GetKeyState("s", "P"))
Send {s down}
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment