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 support for system keyboard in string/number prompts #1469

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

riknoll
Copy link
Member

@riknoll riknoll commented Jan 8, 2024

Fixes microsoft/pxt-arcade#4845

Adds an optional "use system keyboard" parameter for the "ask for string" and "ask for number" APIs that allows you to type using your actual keyboard and not the in-game one. There will be a corresponding PR in pxt-arcade-sim that has the simulator side of this.

This will require an upgrade rule. Or, if we want, we can deprecate this block and make a new one that always pops the system keyboard.

@riknoll riknoll requested review from Jaqster and a team January 8, 2024 18:49
@Jaqster
Copy link
Member

Jaqster commented Jan 8, 2024

OMG! Amazing!!! Thank you Richard. This has been a big pain point for teachers getting through the "User Input" curriculum unit. Much appreciated.

Copy link
Member

@kimprice kimprice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants