Skip to content

Commit 3c37432

Browse files
committed
Bug Fixes & Performance Improvements
0 parents  commit 3c37432

File tree

6 files changed

+102
-0
lines changed

6 files changed

+102
-0
lines changed

.github/HitBox.png

83 KB
Loading

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.vscode

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 ccelik97
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# SOCD Cleaner
2+
3+
A software based SOCD Cleaner written in [AutoHotKey](https://www.autohotkey.com), for Windows.
4+
5+
From [Hit Box Arcade](https://www.hitboxarcade.com/blogs/support/what-is-socd):
6+
7+
> SOCD means "Simultaneous Opposing Cardinal Directions." It is the physical actuation of cardinal directions that are separate and opposite to each other - ie, pressing Left and Right at the same time. This phenomenon is best known on all-button controllers, such as the Hit Box and Smash Box, but current controllers like the Dual-Shock 4 can do something similar with its cross-directional (Analog Stick and Dpad) inputs.
8+
> ![Hit Box button layout.](/.github/HitBox.png)
9+
10+
By default it assumes the following button setup:
11+
12+
* Left: <kbd>E</kbd>
13+
* Crouch: <kbd>R</kbd>
14+
* Right: <kbd>F</kbd>
15+
* Space: <kbd>Space</kbd>
16+
17+
Note: Run it as Administrator if your game is also running as Administrator.
18+
19+
## Download: [Here](https://github.com/ccelik97/SOCD-Cleaner/releases/latest)

SOCD Cleaner.ahk

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
I_Icon = SOCD_Cleaner.ico
2+
IfExist, %I_Icon%
3+
Menu, Tray, Icon, %I_Icon%
4+
;return
5+
6+
;; ? FROM: https://www.autohotkey.com/boards/viewtopic.php?p=391598&sid=b225a17ae64d8e7fa5ae600b77b5b6f4#p391598
7+
8+
#InstallKeybdhook
9+
#UseHook On
10+
#MaxHotkeysPerInterval 200 ; ? FROM: https://www.autohotkey.com/board/topic/62512-permanently-turn-off-that-annoying-hotkey-limit/
11+
12+
;; * Pressing both Left & Right buttons cancels each other.
13+
;; ? Left: e
14+
;; ? Right: f
15+
16+
~e::
17+
if(GetKeyState("f", "p"))
18+
SendInput {e up}{f up}
19+
Return
20+
21+
~f::
22+
if(GetKeyState("e", "p"))
23+
SendInput {e up}{f up}
24+
Return
25+
26+
~e up::
27+
if(GetKeyState("f", "p"))
28+
SendInput {f down}
29+
Return
30+
31+
~f up::
32+
if(GetKeyState("e", "p"))
33+
SendInput {e down}
34+
Return
35+
36+
;; * Pressing both Jump & Crouch buttons inputs only Jump,
37+
;; * releasing Jump inputs Crouch.
38+
;; ? Jump: space
39+
;; ? Crouch: r
40+
41+
~space::
42+
if(GetKeyState("r", "p"))
43+
SendInput {space down}{R up}
44+
Return
45+
46+
~space up::
47+
if(GetKeyState("r", "p"))
48+
SendInput {r down}
49+
Return
50+
51+
~r::
52+
if(GetKeyState("space", "p"))
53+
SendInput {r up}{space down}
54+
Return
55+
56+
~r up::
57+
if(GetKeyState("space", "p"))
58+
SendInput {space down}
59+
Return
60+
61+
;; ! BSDK

SOCD_Cleaner.ico

101 KB
Binary file not shown.

0 commit comments

Comments
 (0)