author | Scott Graham <scottmg@google.com> |
Tue, 20 Sep 2011 13:54:10 -0700 | |
changeset 111 | fa6eba984b7f |
parent 110 | 1dfaeffedad3 |
child 112 | 867f493eeb09 |
gamepad.html |
--- a/gamepad.html Tue Sep 20 13:42:34 2011 -0700 +++ b/gamepad.html Tue Sep 20 13:54:10 2011 -0700 @@ -313,8 +313,8 @@ for (var i = 0; i < document.gamepads.length; ++i) { - var joy = document.gamepads[i]; - // todo; simple demo of displaying joy.axes and joy.buttons + var pad = document.gamepads[i]; + // todo; simple demo of displaying pad.axes and pad.buttons } }