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

Add the possibility to address buttons with letters #3

Open
charlesbones opened this issue May 3, 2024 · 1 comment
Open

Add the possibility to address buttons with letters #3

charlesbones opened this issue May 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@charlesbones
Copy link
Collaborator

Currently the function isPressed uses numbers as index, would it be possible to add also the possibility to address the buttons with letter a, b and c as in the silk screen?

@facchinm
Copy link
Contributor

facchinm commented May 3, 2024

Absolutely feasible but would you prefer something like

buttons.isPressed('A')

or

buttons.isPressed("A")

or

buttons.isPressed(A)

?

They all come with different issues and drawbacks but are of course implementable

@per1234 per1234 added the enhancement New feature or request label May 3, 2024
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

3 participants