Skip to content

x/exp/shiny/driver/gldriver: add missing modifier key codes #32131

@smasher164

Description

@smasher164

Currently the right control key and right command keys are not (accurately) represented in the mods struct. After testing for key events, I've determined that

  • key.ControlRight should be represented by the flags 33<<13 | 0x100, the code C.kVK_RightControl, and modifier key.ModControl.
  • kVK_RightCommand should be represented by the flags 1<<20 | 0x110, the code 0x36 (does not appear in Events.h), and modifier key.ModMeta.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions