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

Add support for HID API. #13893

Open
n-nougator opened this issue Mar 9, 2022 · 4 comments
Open

Add support for HID API. #13893

n-nougator opened this issue Mar 9, 2022 · 4 comments
Labels
suggestion suggestions for new features (yet to be agreed) web related to Web APIs

Comments

@n-nougator
Copy link

No description provided.

@kitsonk kitsonk added suggestion suggestions for new features (yet to be agreed) unactionable and removed suggestion suggestions for new features (yet to be agreed) labels Mar 9, 2022
@kitsonk
Copy link
Contributor

kitsonk commented Mar 9, 2022

A simple title for an issue is not really a suggestion. If you really want it to be considered, more information is needed, like what existing Web Platform APIs you would want us to consider implementing, or how it is exposed in other languages like Rust, Go, Python, etc. As it stands at the moment it is unactionable.

@kitsonk kitsonk closed this as completed Mar 9, 2022
@crowlKats
Copy link
Member

@kitsonk I believe they are referring the WebHID API, given context of a small discussion in the discord server

@crowlKats crowlKats reopened this Mar 10, 2022
@crowlKats crowlKats added suggestion suggestions for new features (yet to be agreed) and removed unactionable labels Mar 10, 2022
@kitsonk kitsonk added the web related to Web APIs label Mar 10, 2022
@kitsonk
Copy link
Contributor

kitsonk commented Mar 10, 2022

Well, that would have been useful information to provide in the issue.

MDN: https://developer.mozilla.org/en-US/docs/Web/API/HID

This is only support in Chromium based browsers.

This is unlikely to happen in the near future, because like web USB (see #9523) and web serial (see #9710) we currently lack a reliable way to test them as part of a CI process.

@LeoDog896
Copy link
Contributor

Looking through the hidapi C library, they don't automatically test it? It seems that the tests are essentially "plug in a real HID device, and make a tool to automatically test it when it's plugged in".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion suggestions for new features (yet to be agreed) web related to Web APIs
Projects
None yet
Development

No branches or pull requests

4 participants