title: Gamepad API "gamepadconnected" not working
body: <p>I am using the Gamepad API "gamepadconnected" function which is not working properly. However, the "gamepaddisconnected" function works for some reason. Upon connecting my bluetooth controller, nothing shows in the console, however, it does show the information displayed when disconnected. </p>
  
  <p>What I have here is very basic and standard:</p>
  
  <pre><code>window.addEventListener("gamepadconnected", function(e) {
    console.log("Controller connected");
  });
  
  window.addEventListener("gamepaddisconnected", function(e) {
    console.log("Controller disconnected");
  });
  </code></pre>
  
  <p>What am I missing here? Where did go wrong? I made sure the first focused page is the one with the scripts above. Thanks for your help.</p>