Skip to content

add utility that maps from keycode to translated key name #9741

@maribethb

Description

@maribethb

Check for duplicates

  • I have searched for similar issues before opening a new one.

Problem

No response

Request

we use an ancient deprecated numeric keyCode to process our shortcut events. at some point we should update that, but for now, we need a centralized place to map from key code to translateable key name. this will not be perfect as different keyboard layouts may use different key codes for different keys. we'll do the best we can.

the utility does not need to include every possible keycode, it is fine to just include the common ones needed for existing shortcuts (ctrl, alt, meta, arrow keys, etc)

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

issue: feature requestDescribes a new feature and why it should be added

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions