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

JOYSTICK_SIZE == 64 hat() issue #631

Open
Anppa opened this issue Dec 1, 2021 · 1 comment
Open

JOYSTICK_SIZE == 64 hat() issue #631

Anppa opened this issue Dec 1, 2021 · 1 comment

Comments

@Anppa
Copy link

Anppa commented Dec 1, 2021

else if (angle < 68) val = 1;

Calling this version with hat(_, -1) ends up here, setting val = 1 instead of 15. The JOYSTICK_SIZE == 12 version of hat() above seems to work as intended.

@Anppa
Copy link
Author

Anppa commented Dec 2, 2021

This happens in teensy4 as well, one of these days I could put a PR together.

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

1 participant