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

Fix X, Y logical range, sample QE inputs #2

Open
wants to merge 3 commits into
base: roxy
Choose a base branch
from

Conversation

ASleepyCat
Copy link

@ASleepyCat ASleepyCat commented Jan 13, 2024

I've been running this firmware for a few years now, ever since the last commit to the roxy branch three years ago. I wanted to resolve the jittery QE inputs without using a deadzone, which lead me to sample from QE 1000 128 times per loop (I'm pretty sure I got this idea from another arcin fw fork, but I didn't write down where). This mostly solves the issue, except rarely it'll jitter very slightly. This jitter won't ever be visible in gameplay, because I've only noticed it in spicecfg. Reducing down to 128 samples has fixed the jitter entirely.

I've also changed the X and Y logical ranges to [0, 255]. This fixes an issue where analog controls will get stuck at 100% for a few spins after first plugging in.

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.

1 participant