Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

W3C Gamepad API - Where is it?

  • 5 отговора
  • 3 имат този проблем
  • 1 изглед
  • Последен отговор от cor-el

more options

Mozilla appear to be ignoring the official W3C specified Gamepad API in favor of their own solution. The W3C specification is by far the better solution for game development (for reasons I will not specify here).

Will the proper W3C Gamepad API ever be available Firefox? If yes, when exactly?

Thanks.

Mozilla appear to be ignoring the official W3C specified Gamepad API in favor of their own solution. The W3C specification is by far the better solution for game development (for reasons I will not specify here). Will the proper W3C Gamepad API ever be available Firefox? If yes, when exactly? Thanks.

Избрано решение

There is support in Firefox 24 and later, but it is disabled and hidden behind a pref (dom.gamepad.enabled)

See:

Please DO NOT comment in bug reports: https://bugzilla.mozilla.org/page.cgi?id=etiquette.html

Прочетете този отговор в контекста 👍 1

Всички отговори (5)

more options

Избрано решение

There is support in Firefox 24 and later, but it is disabled and hidden behind a pref (dom.gamepad.enabled)

See:

Please DO NOT comment in bug reports: https://bugzilla.mozilla.org/page.cgi?id=etiquette.html

Променено на от cor-el

more options

Awesome. Thanks for the reply, cor-el :-)

more options

Can you comment on if it plans to be _not_ disabled later?

more options

This feature is currently in development and not yet complete;y implemented. As soon as the Firefox developers consider this feature good enough then it will be enabled by default. I don't know in which Firefox version this will be.

There is still work to be done:

  • Bug 710398 - (gecko-games) Tracking bug for making Gecko ready as a games platform

Please DO NOT comment in bug reports: https://bugzilla.mozilla.org/page.cgi?id=etiquette.html