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

2 buttons together #83

Closed
arlimbad222 opened this issue Feb 12, 2021 · 1 comment
Closed

2 buttons together #83

arlimbad222 opened this issue Feb 12, 2021 · 1 comment

Comments

@arlimbad222
Copy link

hello forks

i am working on one small project & i want to run 2 button code together i attached my code here. it was like when button 1 print something with small delay and suddenly i press button 2 its not working. i just want print that button 2 thing when button 1 print something.

I dont have any coding experience so if it easy sorry for issue..

have a nice day my friends
HELLO WORLD.TXT

@mathertel
Copy link
Owner

The library doesn't support this but it can be built on top of the events from the individual buttons.

e.g. register to all LongPressStart and LongPressStop events of the buttons and find out that 2 of them actually started.
If you manage implementing an example, that would be welcome.

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