- From: Weihong Guan <notifications@github.com>
- Date: Thu, 24 Nov 2022 08:05:40 -0800
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 24 November 2022 16:05:51 UTC
@dinther , I am having the same scenario. `Navigator.getGamepads()` does not work for me. Because `Navigator.getGamepads is not a function`. But `navigator.getGamepads()` works, on both Firefox and Chromium. If no gamepads shown up, you could try again after pressing some button on the gamepad. I have setup self assigned certs with [mkcerts](https://github.com/FiloSottile/mkcert). But `Navigator.getGamepads()` failed too. So I figured maybe there was something wrong with the statement. `navigator.getGamepads()` works with or without SSL. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/gamepad/issues/145#issuecomment-1326634074 You are receiving this because you are subscribed to this thread. Message ID: <w3c/gamepad/issues/145/1326634074@github.com>
Received on Thursday, 24 November 2022 16:05:51 UTC