Skip to content

Consider usage of new KeyboardEvent #11

@rheone

Description

@rheone

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions