Open
Description
I am missing two feature from the button api.
- if I want to check if a key is pressed, where key is a variable I have to do:
getattr(ev3dev.buttons, key).pressed
This is not very discoverable.
2.) how would I check for any key pressed?
If there would be an enum of available keys, I could check if any of them are pressed. We could also just have some convenience api for this.