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

Two buttons pressed at the same time #9

Open
Dean-kasail opened this issue Aug 5, 2020 · 2 comments
Open

Two buttons pressed at the same time #9

Dean-kasail opened this issue Aug 5, 2020 · 2 comments

Comments

@Dean-kasail
Copy link

Hi,
This is not an issue more of me trying to find out if your library can detect if more than one button is pressed at the same time.
For example if I have 2 buttons both can work independently, but if I push and hold both buttons it will call another function other than, pressed or long pressed.

@blackketter
Copy link
Owner

Hi! You should be able to set a variable when one button is pressed and then check that variable when the other button is pressed to determine if both are pressed.

@Dean-kasail
Copy link
Author

I'll give it a go thanks

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

2 participants