summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/gamepad/gamepad_frame_state.html
blob: a53b91b2cbe8185ab24fe9b3587521bd41fedd90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!-- Any copyright is dedicated to the Public Domain.
   - http://creativecommons.org/publicdomain/zero/1.0/ -->
<!DOCTYPE HTML>
<html>
<head>
  <title>frame</title>
  <script type="text/javascript">
    var gamepad;
    window.addEventListener("gamepadconnected", function(e) {
      gamepad = e.gamepad;
    });
  </script>
</head>
<body>
</body>
</html>