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

Is there a possibility to interrupt a keydown event? #412

Open
avolgha opened this issue Aug 1, 2022 · 0 comments
Open

Is there a possibility to interrupt a keydown event? #412

avolgha opened this issue Aug 1, 2022 · 0 comments

Comments

@avolgha
Copy link

avolgha commented Aug 1, 2022

In my project, I want to cancel the event on specific key presses. So that if the user presses "x" for example, it would not write that "x" to the console.

I was wondering if there is a possibility to catch these events and cancel them so that the character is not written to the console.

Or does anyone know how that could work in any other way?

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

No branches or pull requests

1 participant