We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It is useful to let user change LONGCLICK_MS, DOUBLECLICK_MS, DEBOUNCE_MS during compile time.
Suggested change in Button2.h
#ifndef DEBOUNCE_MS #define DEBOUNCE_MS 50 #endif #ifndef LONGCLICK_MS #define LONGCLICK_MS 200 #endif #ifndef DOUBLECLICK_MS #define DOUBLECLICK_MS 300 #endif
Usage:
#define LONGCLICK_MS 500 #include <Button2.h>
The text was updated successfully, but these errors were encountered:
Hey Matouš, thank you for your feedback! That’s a really neat idea! I will update the source as you suggested.
Sorry, something went wrong.
added possibility to define your own timouts, as suggested in #10
b06fb47
No branches or pull requests
It is useful to let user change LONGCLICK_MS, DOUBLECLICK_MS, DEBOUNCE_MS during compile time.
Suggested change in Button2.h
Usage:
The text was updated successfully, but these errors were encountered: