-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug Fixes & Performance Improvements
- Loading branch information
0 parents
commit 3c37432
Showing
6 changed files
with
102 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/.vscode |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2022 ccelik97 | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# SOCD Cleaner | ||
|
||
A software based SOCD Cleaner written in [AutoHotKey](https://www.autohotkey.com), for Windows. | ||
|
||
From [Hit Box Arcade](https://www.hitboxarcade.com/blogs/support/what-is-socd): | ||
|
||
> 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. | ||
> ![Hit Box button layout.](/.github/HitBox.png) | ||
By default it assumes the following button setup: | ||
|
||
* Left: <kbd>E</kbd> | ||
* Crouch: <kbd>R</kbd> | ||
* Right: <kbd>F</kbd> | ||
* Space: <kbd>Space</kbd> | ||
|
||
Note: Run it as Administrator if your game is also running as Administrator. | ||
|
||
## Download: [Here](https://github.com/ccelik97/SOCD-Cleaner/releases/latest) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
I_Icon = SOCD_Cleaner.ico | ||
IfExist, %I_Icon% | ||
Menu, Tray, Icon, %I_Icon% | ||
;return | ||
|
||
;; ? FROM: https://www.autohotkey.com/boards/viewtopic.php?p=391598&sid=b225a17ae64d8e7fa5ae600b77b5b6f4#p391598 | ||
|
||
#InstallKeybdhook | ||
#UseHook On | ||
#MaxHotkeysPerInterval 200 ; ? FROM: https://www.autohotkey.com/board/topic/62512-permanently-turn-off-that-annoying-hotkey-limit/ | ||
|
||
;; * Pressing both Left & Right buttons cancels each other. | ||
;; ? Left: e | ||
;; ? Right: f | ||
|
||
~e:: | ||
if(GetKeyState("f", "p")) | ||
SendInput {e up}{f up} | ||
Return | ||
|
||
~f:: | ||
if(GetKeyState("e", "p")) | ||
SendInput {e up}{f up} | ||
Return | ||
|
||
~e up:: | ||
if(GetKeyState("f", "p")) | ||
SendInput {f down} | ||
Return | ||
|
||
~f up:: | ||
if(GetKeyState("e", "p")) | ||
SendInput {e down} | ||
Return | ||
|
||
;; * Pressing both Jump & Crouch buttons inputs only Jump, | ||
;; * releasing Jump inputs Crouch. | ||
;; ? Jump: space | ||
;; ? Crouch: r | ||
|
||
~space:: | ||
if(GetKeyState("r", "p")) | ||
SendInput {space down}{R up} | ||
Return | ||
|
||
~space up:: | ||
if(GetKeyState("r", "p")) | ||
SendInput {r down} | ||
Return | ||
|
||
~r:: | ||
if(GetKeyState("space", "p")) | ||
SendInput {r up}{space down} | ||
Return | ||
|
||
~r up:: | ||
if(GetKeyState("space", "p")) | ||
SendInput {space down} | ||
Return | ||
|
||
;; ! BSDK |
Binary file not shown.