Skip to content

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.

1 participant