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

provide button activation variable #48

Open
denis-stepanov opened this issue Nov 16, 2021 · 0 comments
Open

provide button activation variable #48

denis-stepanov opened this issue Nov 16, 2021 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@denis-stepanov
Copy link
Owner

denis-stepanov commented Nov 16, 2021

Button activation is processed in a dedicated handler, and most of the time what it does is setting some global variable to be polled in loop(). It makes sense to internalize this variable and provide it as part of the library. The variable type should probably be int to distinguish various types of activation; in the simplest scenario of a boolean flag one could just compare it with 0.

@denis-stepanov denis-stepanov added the enhancement New feature or request label Nov 16, 2021
@denis-stepanov denis-stepanov added this to the v1.2.0 milestone Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant