Skip to content

Modifier key naming is inconsistent between VirtualKeyCode and ModifiersState #1343

Closed

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.

Activity

  1. added
    S - api
    on Dec 28, 2019
  2. added a commit that references this issue on Apr 25, 2021
  3. added a commit that references this issue on May 28, 2023
    a870147
  4. added a commit that references this issue on Jan 30, 2024
    9184309
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    S - api

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions