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

[PowerA/Switch] Drastically improve accuracy of the right pad with horrific hacks #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

simvux
Copy link

@simvux simvux commented Mar 25, 2023

I noticed that the touchpad implementation has deadzones and is offset by ~15 degrees. I suspect the real problem are the strange adc_vals_{x,y} assignments inside trackpadGetLastXY. However; I'm definitely unable to fix those so I instead try to make the touchpad "seem" more accurate by offsetting the values manually afterwards.

I don't expect this to be merged

But; putting it as a PR for discoverability since others may want these changes as they do make the touchpad a lot more viable.

As a side note, if you also want to make the right touchpad only act as right joystick when pressed, you can simply wrap the statusReport assignment with if (getRightTrackpadClickState())

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.

None yet

1 participant