-
-
Save gitrawrau/515a9eee59c4bc5a3d736737672950a0 to your computer and use it in GitHub Desktop.
SOCD cleaner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* The "default Hit Box" SOCD cleaner | |
| Left + Right = Neutral | |
| Up + Down = Up | |
| */ | |
| #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
| #Warn ; Enable warnings to assist with detecting common errors. | |
| SendMode Input | |
| SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
| #SingleInstance, force | |
| #MaxHotkeysPerInterval 200 ; allow up to 200 hotkeys per interval (from the default 70) | |
| critical on | |
| GroupAdd, FGC, ahk_exe GGST.exe | |
| GroupAdd, FGC, ahk_exe kofxiii.exe | |
| GroupAdd, FGC, ahk_exe MultiVersus.exe | |
| GroupAdd, FGC, ahk_exe TEKKEN 7.exe | |
| GroupAdd, FGC, ahk_exe StreetFighterV.exe | |
| GroupAdd, FGC, ahk_exe Fightcade2.exe | |
| GroupAdd, FGC, ahk_exe NohBoard.exe ; for testing, keep this commented otherwise | |
| ;Thread, Interrupt, .00005, 2 | |
| #IfWinActive, ahk_group FGC | |
| $q:: ;left down | |
| critical | |
| If GetKeyState("e", "P") { | |
| SendInput {e up} | |
| } | |
| else { | |
| SendInput {q down} | |
| } | |
| return | |
| $e:: ;right down | |
| critical | |
| If GetKeyState("q", "P") { | |
| SendInput {q up} | |
| } | |
| else { | |
| SendInput {e down} | |
| } | |
| return | |
| $space:: ;up down | |
| critical | |
| SendInput {w up}{space down} | |
| return | |
| $w:: ;down down | |
| critical | |
| If GetKeyState("space", "P") | |
| { | |
| SendInput {w up}{space down} | |
| } | |
| else { | |
| SendInput {w down} | |
| } | |
| return | |
| $q up:: ;left up | |
| critical | |
| If GetKeyState("e", "P") { | |
| SendInput {e down} | |
| } | |
| SendInput {q up} | |
| return | |
| $e up:: ;right up | |
| critical | |
| If GetKeyState("q", "P") { | |
| SendInput {q down} | |
| } | |
| SendInput {e up} | |
| return | |
| $space up:: ;;up up | |
| critical | |
| if GetKeyState("w", "P") { | |
| SendInput {w down} | |
| } | |
| SendInput {space up} | |
| return | |
| $w up:: ;down up | |
| critical | |
| SendInput {w up} | |
| return | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment