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 multi touch to buttons #40

Merged
merged 2 commits into from
Jan 23, 2025
Merged

Add multi touch to buttons #40

merged 2 commits into from
Jan 23, 2025

Conversation

exussum12
Copy link
Contributor

Touching two buttons at once does not work as expected

Touching two buttons at once does not work as expected
@Gadgetoid
Copy link
Member

Thank you- though the second touch 2 coordinates should use self.state2 or it will mirror the touch/release status of the first touch. (Yes the variable naming here is a bit of a travesty)

@exussum12
Copy link
Contributor Author

Perfect, fixed that and removed a block of if

@Gadgetoid Gadgetoid merged commit 9087589 into pimoroni:main Jan 23, 2025
1 check passed
@Gadgetoid
Copy link
Member

Thank you!

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.

2 participants