-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Support web #32
Comments
Depends on whether there is someone (or someones) prepared to contribute a web version. One consideration is that gamepad APIs for web do not support advanced controller features such as manipulating lights. A decision would have to be made to carve out specific interfaces for each platform or to "no-op" on web. |
I have taken a look at this, and I have something that should, in principle, (i.e. is supposed to) work. In my tests so far I'm seeing inconsistent behaviour across different browsers on the same platform. e.g. events & devices not being recognised by Firefox on macOS under any circumstance. There are other kinds of gotchas even among browsers that do behave as expected, e.g. a scenario I observed where the browser does not immediately respond to device input. I was able to reliably force Google Chrome on macOS to recognise my device immediately once I had pressed a single button with the Developer Console open. Complicating things further, I suspect that there is some variance in behaviour between input devices. I think if we were to ship a web implementation, we would need good coverage of various limitations on a per-platform and per-browser basis. |
In addition to the practical observations above, a look at https://github.com/w3c/gamepad/ suggests the W3C Gamepad API is still a work in progress with changes being discussed that would have material effects on the implementation of E.g.
|
Are there any chances, that there will be implementation for web?
The text was updated successfully, but these errors were encountered: