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

Add option to bypass SOCD cleaning for supported input modes #210

Merged
merged 3 commits into from
May 6, 2023

Conversation

henrebotha
Copy link
Contributor

@henrebotha henrebotha commented May 4, 2023

This PR was created after I attempted to manually fix a mess GitHub's rebase feature caused. Please check carefully whether the contents actually make sense; it's possible something went missing (in particular, this commit and this commit existed on the original branch that @deeebug made their PR against).

Fixes #156.

@deeebug
Copy link
Contributor

deeebug commented May 6, 2023

A very important change to GamepadState.h is missing.

inline uint8_t runSOCDCleaner(SOCDMode mode, uint8_t dpad)
{
	if (mode == SOCD_MODE_BYPASS) {
		return dpad;
	}

This block to be specific.
With this No SOCD is working.

Copy link
Contributor

@arntsonl arntsonl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding in SOCD none modes

@arntsonl arntsonl merged commit 28d47d9 into OpenStickCommunity:main May 6, 2023
@henrebotha henrebotha deleted the socd-bypass-1 branch May 19, 2023 10:50
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

Successfully merging this pull request may close these issues.

Allow disabling SOCD cleaning
3 participants