Skip to content

Modifier key naming is inconsistent between VirtualKeyCode and ModifiersState #1343

@Osspial

Description

@Osspial

Noticed this when implementing ModifiersStateChanged on Windows. The control key is CTRL in ModifiersState, but Control in VirtualKeyCode. Similarly, the logo key is LOGO in ModifiersState and Win in VirtualKeyCode.

I don't think it particularly matters which name we end up settling on, but the names should be consistent throughout the API. We should try and resolve this when we do a design pass over the keyboard input API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    S - apiDesign and usability

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions