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

KeyboardEvent.Keycode #5

Open
xargon666 opened this issue Aug 3, 2021 · 0 comments
Open

KeyboardEvent.Keycode #5

xargon666 opened this issue Aug 3, 2021 · 0 comments

Comments

@xargon666
Copy link

Apparently using KeyboardEvent.Keycode with the character code number is now deprecated, and it is best practice to use the code attribute instead. e.g. KeyboardEvent.code = "KeyW"

Source: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code

mboeder-2306 added a commit to mboeder-2306/Nokia3310-Snake that referenced this issue Jun 1, 2023
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