Skip to content

Commit

Permalink
Bug Improvements & Performance Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ccelik97 committed Oct 21, 2023
1 parent 3c37432 commit a782e25
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions SOCD Cleaner.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -24,38 +24,37 @@ Return
Return

~e up::
if(GetKeyState("f", "p"))
SendInput {f down}
if(GetKeyState("f", "p"))
SendInput {f down}
Return

~f up::
if(GetKeyState("e", "p"))
SendInput {e down}
if(GetKeyState("e", "p"))
SendInput {e down}
Return

;; * Pressing both Jump & Crouch buttons inputs only Jump,
;; * releasing Jump inputs Crouch.
;; * Pressing both Jump & Crouch buttons cancels each other.
;; ? Jump: space
;; ? Crouch: r

~space::
if(GetKeyState("r", "p"))
SendInput {space down}{R up}
~r::
if(GetKeyState("space", "p"))
SendInput {r up}{space up}
Return

~space up::
if(GetKeyState("r", "p"))
SendInput {r down}
~space::
if(GetKeyState("r", "p"))
SendInput {r up}{space up}
Return

~r::
~r up::
if(GetKeyState("space", "p"))
SendInput {r up}{space down}
SendInput {space down}
Return

~r up::
if(GetKeyState("space", "p"))
SendInput {space down}
~space up::
if(GetKeyState("r", "p"))
SendInput {r down}
Return

;; ! BSDK

0 comments on commit a782e25

Please sign in to comment.