Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOCD not working #19

Closed
Psyonicpanda opened this issue Aug 23, 2022 · 12 comments
Closed

SOCD not working #19

Psyonicpanda opened this issue Aug 23, 2022 · 12 comments

Comments

@Psyonicpanda
Copy link

Hello,

Had an issue with the program not functioning correctly. I had entered my custom keys (ASD Space) and set the cleaner to custom but I still get a neutral input with holding A+D or S+Space. Here are my conf settings:
41
44
VK_SPACE
53

I also tried it as just SPACE without the VK or _

@valignatev
Copy link
Owner

Space is 20, not VK_SPACE. Also you shouldn't click "custom", all you need to do is to restart the program after you change the config and it theoretically should work

@Psyonicpanda
Copy link
Author

Psyonicpanda commented Aug 24, 2022

Right, so when I open the program it automatically defaults to "custom." The current config is
41
44
20
53

It doesn't work inside of Melty Blood, unless I misunderstood what it's supposed to do. When I hold down and then up at the same time, I get neutral. When I hold left+right, I get neutral. I should get up/forward respectively, right? It is definitely doing something because it feels weird typing into a web browser (my spaces and s get doubled sometimes). Just to confirm the inputs are left/right/up/down when I open the config file as a notepad?

@valignatev
Copy link
Owner

oh if it messes up your browser inputs then it definitely works. The reason why it might not work in any particular game is if that game explicitly ignores synthetic inputs. I know for a fact that at least source games do that (so portal, half-life2 and friends). I was planning to experiment with using scancodes instead of virtual key codes to see if it circumvents the game behavior. I'm gonna keep this issue open until I confirm if that's the case, thanks for another possible example!

@Psyonicpanda
Copy link
Author

I played fighting games on a hitbox controller that has built in SOCD and that has never been an issue, so I'm not sure if it's a game specific issue. I tried it on multiple other fighting games and get the same result on keyboard. The biggest thing is doing "charge moves". You have to hold down and then press up+a button to get the move to come out. You should be able to continue holding down when you tap up and get your move. Might just try to get my hitbox fixed instead but if you have any questions that might help you, let me know!

@Psyonicpanda
Copy link
Author

I can post a quick video with a command overlay of what I'm inputting and what the game sees, if that helps.

@valignatev
Copy link
Owner

yeah hitboxes implement that on a driver level, and this socd cleaner just sends signals to windows, that applications might choose to ignore. So totally different implementation. Yeah feel free to send a video, but just make sure that the command overlay is not coming from the game but is a separate program that records the inputs

@Psyonicpanda
Copy link
Author

So I went and tried it out. It does work with Persona and with USF4 now. Still does not work with Melty. I'll take a video tomorrow, still has up/down be neutral and left/right be neutral.

@Psyonicpanda
Copy link
Author

@valignatev
Copy link
Owner

yeah I see that input display shows proper socd, but the game doesn't register it, and it's a clear sign that it ignores synthetic inputs, so pretty much the same cause as source engine games. I have trying to trick the system on my tod list so hopefully will get around to that. Once again, thanks for more examples <3

@valignatev
Copy link
Owner

Hey @Psyonicpanda can you try the latest release? https://github.com/valignatev/socd/releases/tag/0.0.8

New version will create a new config file, so you'll have to pull your custom binds from the old one, but it fixes some other known games, and hopefully will fix your case as well. Let me know if it works or not!

@Psyonicpanda
Copy link
Author

Hello, sorry for the delay. Yes, this works now. When I hold down and try to jump, I get jump. Holding left+right gives me right. Thank you for your service o7

@valignatev
Copy link
Owner

heyy, glad it helped!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants