W3C home > Mailing lists > Public > public-webevents@w3.org > October to December 2011

Re: [gamepad] .gamepads vs. function access

From: Scott Graham <scottmg@google.com>
Date: Thu, 20 Oct 2011 08:45:12 -0700
Message-ID: <CANHK6RaNZvOvqaypwew3YUTSfktWop4kf8r=Tg9JZU2AVZyYkQ@mail.gmail.com>
To: Paul Bakaus <pbakaus@zynga.com>
Cc: Vincent Scheib <scheib@google.com>, "public-webevents@w3.org" <public-webevents@w3.org>
> Vincent Scheib:
>> pollGamepads() to me implies that the data would be refreshed by me calling> the function, which may be misleading if that's not the case.
That's true. I was going for "may be updated", rather than "will be
updated" but I can't think of a better short name for that.
> Paul Bakaus:
> We have stuff in the DOM that triggers layout like offsetWidth, so I don't
> mind implicit polling by accessing .gamepads.

Good point about offsetWidth.

Thanks for the feedback, I'll leave it alone. :-)
Received on Thursday, 20 October 2011 15:45:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:54 UTC