搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Gamepad API implementation requires controller be unplugged and re-plugged to detect device.

  • 無回覆
  • 1 有這個問題
  • 15 次檢視
more options

Hello,

My company is developing an HTML 5 game via the Unity engine, and I am attempting to get gamepads to be detected by the game when playing in Firefox (and Windows 10). While it is possible, the process appears to be bugged in comparison to chrome. The issue is demonstrated by this online input test (play an input test here: https://www.duofuego.com/input_test/). The text in the top left indicate all detected input devices. Assume all gamepads are already plugged into the computer.

In Firefox (Win 10), in order to get Xbox 360 gamepads to show up, two steps are required-- 1) Unplug the xbox 360 controller from the computer. 2) Plug it back in 3) Press a button on the controller.

In Chrome (Win 10), the xbox 360 gamepads show up in only one step-- 1) Press a button on the controller.

Users who are using Firefox will have a notably inferior experience in getting their controller to work. They may never attempt the unplug-then-replug technique, and may then erroneously conclude that the game is incompatible with gamepads. Let me know your thoughts. Thank you!

Hello, My company is developing an HTML 5 game via the Unity engine, and I am attempting to get gamepads to be detected by the game when playing in Firefox (and Windows 10). While it is possible, the process appears to be bugged in comparison to chrome. The issue is demonstrated by this online input test (play an input test here: https://www.duofuego.com/input_test/). The text in the top left indicate all detected input devices. Assume all gamepads are already plugged into the computer. In Firefox (Win 10), in order to get Xbox 360 gamepads to show up, two steps are required-- 1) Unplug the xbox 360 controller from the computer. 2) Plug it back in 3) Press a button on the controller. In Chrome (Win 10), the xbox 360 gamepads show up in only one step-- 1) Press a button on the controller. Users who are using Firefox will have a notably inferior experience in getting their controller to work. They may never attempt the unplug-then-replug technique, and may then erroneously conclude that the game is incompatible with gamepads. Let me know your thoughts. Thank you!