adafruit / adafruit/Adafruit_CircuitPython_MacroPad
Use `keypad.Keys()` for encoder button
- Dominant language
- Python
- Stars
- 99
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
Using `Debouncer` for the encoder button requires polling when doing things like double-click detection, etc. It could be switched to a separate `keypad.Keys()`. Might be a little tricky to preserve the current API.
Some early related discussion in https://github.com/adafruit/Adafruit_CircuitPython_MacroPad/issues/2.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the current encoder-button Debouncer usage and reading the related discussion in issue #2, then compare it with the keypad.Keys() API. Done means the button supports polling for behaviors such as double-click detection while preserving the current API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- embedded-iot
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100