gecko-dev/dom/tests/mochitest/gamepad/gamepad_frame_state.html
Ted Mielczarek 281489a00e bug 604039 - Add DOM Gamepad APIs. r=smaug
--HG--
extra : rebase_source : ffffdc4549da1b25ea263b623c05ae1afb3d46a0
2011-08-03 14:12:08 -04:00

17 lines
353 B
HTML

<!-- 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>