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

Long press is not reported in polling mode #54

Closed
IvanBayan opened this issue Jun 9, 2023 · 1 comment
Closed

Long press is not reported in polling mode #54

IvanBayan opened this issue Jun 9, 2023 · 1 comment

Comments

@IvanBayan
Copy link

Long press is not reported in polling mode.
If you uncomment commented part in this example: https://github.com/LennartHennigs/Button2/blob/master/examples/ButtonLoop/ButtonLoop.ino condition

case long_click: 
            Serial.println("looong");
            break;

will never met.

@LennartHennigs
Copy link
Owner

Thank for for the PR!
It fixes the issue!

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