Skip to content

Question: how to capture holding down buttons? #2

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

Open
mfeif opened this issue Feb 28, 2020 · 1 comment
Open

Question: how to capture holding down buttons? #2

mfeif opened this issue Feb 28, 2020 · 1 comment

Comments

@mfeif
Copy link
Contributor

mfeif commented Feb 28, 2020

In the subject... under the current execution, if one holds down say a volume down button for several seconds, only one event is fired.

How can we detect that and make it into more events? (if this question should go to lower-level stuff, let me know)

Thanks!

@mfeif
Copy link
Contributor Author

mfeif commented Feb 29, 2020

For anyone who lands here because of a search, what was happening was related to this bug:

adafruit/Adafruit_CircuitPython_IRRemote#32

If you can use non-blocking code, then the repeat event is emitted.

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

1 participant