Skip to content

Ensure Code can represent the USB standard #62

Description

@madsmtm

keyboard-types is based on the W3C specification, but dependencies use it in a desktop context too, and thus we extend Code with extra variants to allow for these use-cases too (currently the Chromium key codes).

Another place where it could make sense to extend support for would be the USB usage page standard. The spec is available here, see specifically the Keyboard/Keypad Page 0x07 and the Consumer Page 0x0C.

This would allow representing all the scancode events that the SDL emits.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions