Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When I got home and had to type in my WiFi credentials using the old keyboard, it took me so long I decided to crack out my laptop and run code to do it instead. This PR is a bit of an attempt to improve the speed of typing text in on the keyboard.
Each button on the badge corresponds to a group of letters, so the up button does letters a to f, once you press that, the buttons are reassigned letters through that range, so the up button now becomes a. The numbers are part of the uppercase letters (accessed with shift or caps) to keep the keyboard simpler. There's a 'meta' menu with backspace, shift, caps lock, symbols and cancel.
The keyboard is compatible with how the old one is used, so no other code needs to be changed.
As I wrote a function to label the buttons, I added yes/no labels to the
YesNoDialog
in the same way.