9/13/2023 0 Comments Game controller mapperSo I can't even use the ID that is mapped through to get these controllers working.Īnd the IDs can map to the SDL2 mappings. The issue right now, is that the gamepad API is completely useless without these mappings, as the DPad is not mapped through what-so-ever. If we implement this in Firefox then that case is likely to wind up completely untested as people will test in Chrome and Firefox, see that it works for them, and not bother dealing with the non-standard case. Right now I'm worried that developers will develop against Chrome with a supported gamepad and not test the non-standard case at all, making their games useless for people without the same type of gamepad. Yes, we could say "we support all the major console controllers and that's good enough" but when the next generation of consoles comes out you get a new set of controllers that you don't support right away. However, there will always be controllers that the browser doesn't know about that will not present a standard mapping, and content using the API will either have to handle that or be broken with those controllers. Yes, Chrome is shippping with some built-in mappings. It has stalled because the more I think about it the more I think it was a terrible mistake to include in the spec.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |