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

Consider usage of new KeyboardEvent #11

Open
rheone opened this issue Oct 27, 2019 · 1 comment
Open

Consider usage of new KeyboardEvent #11

rheone opened this issue Oct 27, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@rheone
Copy link
Member

rheone commented Oct 27, 2019

Seems that event.which is no longer the way to pick up on key presses.

KeyboardEvent seems to be the way things are done with modern browsers.

We need to consider the new hotness that is KeyboardEvent.key and the related Key Values that will need to be the replacement of privateScanCodeMap

Be aware that making this change will limit our backwards compatibility can I use: keyboardevent.key

@ahsteele pointed out w3c-keys
which has a TypeScript definitions for many (but I don't think all) of the keys.

@rheone rheone added the enhancement New feature or request label Oct 27, 2019
@ahsteele
Copy link
Member

ahsteele commented Oct 27, 2019 via email

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

No branches or pull requests

2 participants