Skip to content

Keypad Library: allow for arrays for pull and value_when_pressed #8315

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
s-light opened this issue Aug 22, 2023 · 2 comments
Open

Keypad Library: allow for arrays for pull and value_when_pressed #8315

s-light opened this issue Aug 22, 2023 · 2 comments

Comments

@s-light
Copy link

s-light commented Aug 22, 2023

split from #7919 (comment)

allow for arrays for pull and value_when_pressed -
so we can use the same object for all three buttons -
i came across this need for the Adafruit ESP32-S3 Reverse TFT Feather
as on these Button D0 is opposite to D1 & D2 for the sake of deep-sleep wake-up..

this is found on the following boards:

maybe there are other boards with similar setups...

@Neradoc
Copy link

Neradoc commented Aug 22, 2023

This might help: I wrote a library to mix multiple keypad scanner instances (or compatible) into a single event queue, with this example for using it with the reverse TFT feather:

https://github.com/Neradoc/Circuitpython_Multi_Keypad/blob/main/examples/multi_keypad_reverse_tft_feather.py

@dhalbert
Copy link
Collaborator

dhalbert commented Feb 1, 2025

Could be added via #9845

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants