Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure Code can represent the USB standard #62

Open
madsmtm opened this issue Feb 13, 2025 · 0 comments
Open

Ensure Code can represent the USB standard #62

madsmtm opened this issue Feb 13, 2025 · 0 comments

Comments

@madsmtm
Copy link
Contributor

madsmtm commented Feb 13, 2025

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.

@madsmtm madsmtm changed the title Ensure Code can represent the USB usage page standard Ensure Code can represent the USB standard Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant