Skip to content

toast.inputdevice: KeyboardEvent.keyCode vs KeyboardEvent.code #104

Description

@CravateRouge

Why do you use KeyboardEvent.keyCode that is deprecated and needs extra work in your examples (linking keyCodes to names in a collection) instead of using KeyboardEvent.code where you just have to use the key name to match the correct key?

I tested KeyboardEvent.code in a tv samsung 5.5 simulator and it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions