- From: <bugzilla@jessica.w3.org>
- Date: Thu, 18 Dec 2014 15:06:14 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26181
--- Comment #34 from Ted Mielczarek [:ted] <ted@mielczarek.org> ---
(In reply to Philip Jägenstedt from comment #32)
> Why not:
>
> function onconnected(e) {
> player.gamepad = e.gamepad;
> }
>
> And then just use that until the gamepaddisconnected fires or
> player.gamepad.connected is false? Getting the gamepad via getGamepads() on
> each input event or animation frame will generate a lot of garbage since a
> new Array is returned each time.
Congratulations, you found the other big spec bug I need to fix: bug 21434.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 18 December 2014 15:06:16 UTC