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 more keys to "key pressed" dropdown #1892

Open
towerofnix opened this issue Jan 4, 2019 · 6 comments · May be fixed by #4142
Open

Add more keys to "key pressed" dropdown #1892

towerofnix opened this issue Jan 4, 2019 · 6 comments · May be fixed by #4142

Comments

@towerofnix
Copy link
Contributor

towerofnix commented Jan 4, 2019

The "key pressed" dropdown is missing some keys that make it lack a lot of potential.

While keys like "control" and "command" are best left out because they have browser behavior, the following keys don't mess with the browser, and would be useful for typewriter (custom input) and game projects:

  • Shift (Useful general-purpose modifier key. No browser behavior.)
  • Enter (Frequently used for selecting options in keyboard-based UI.)
  • Backspace (Useful in typewriter projects or as a "back" button.)
@thisandagain
Copy link
Contributor

/cc @ericrosenbaum @kchadha

@TongDaDa
Copy link

TongDaDa commented Jan 7, 2019

It is useful

@towerofnix
Copy link
Contributor Author

I've updated the issue description with a proper list of keys I think would be useful (more welcome if anyone has ideas!).

@AmazingMech2418
Copy link
Contributor

I recently submitted a PR to add the backspace and shift keys. The enter key is already supported.

@griffpatch
Copy link
Contributor

Not being able to use backspace has been a real step back for any text input based projects that are using anything other than the 'ask' block. I'd certainly vote up the request to add a backspace character to the dropdown... if not at least support detecting it the old way using the ascii backspace char! (drop down prefered)

@apple502j
Copy link
Contributor

@griffpatch The old way breaks Scratch 3.0's XML parsing. It cannot handle Backspace unicode char.
Backspace dropdown is possible.

@towerofnix towerofnix linked a pull request Dec 10, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants