New Keyboard Menu#3536
Conversation
Since pressing a key selects that key, including the arrow keys, it doesn't really make sense to select the first key here.
|
Oh wow, this is pretty, and pretty cool! |
|
Would I be able to try to make a proof-of-concept of that more compact UI? Should just be some size/style changing. |
|
Yeah, go ahead |
|
@ego-lay-atman-bay Hows this: |
|
I got an invitation - do you want me to commit it there (I already kind of made a whole branch on something else for a PR...) |
|
Yeah, I was thinking it might be best to contribute to the same PR |
|
Commited! Hoping I didn't do anything wrong.. |




I never really liked how in scratch and snap, the menu for selecting keys was just a huge dropdown list, so I decided to redesign it to be a full keyboard layout.
Screencast_20260520_133258.mp4
When you open it, you can select all the keys you could before, but with a better ui. When you hold shift, there are also many keys that change to their shifted counterparts, so for example, 4 would become $ when holding shift. I also added a really nice quality of life feature that just detects whatever key you press and automatically selects that one, so you don't even have to use the ui (it also allows for selecting keys not in the menu), but pressing esc will close the menu instead of selecting it. I also made sure that everything is localized, or at least uses the localized method. The only issue right now is that there's no way to toggle shift with the ui.
Just to be clear, when holding shift, it doesn't make all the letters uppercase because snap doesn't detect the key when it's uppercase (possibly a bug).
Since this new menu is very large, I decided to make it fall back to the old menu on smaller screens (if the menu width is larger than the world width).