W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2014

Re: [Gamepad] Liveness of Gamepad objects

From: Ted Mielczarek <ted@mozilla.com>
Date: Tue, 29 Apr 2014 21:29:11 -0400
Message-ID: <536051E7.9070705@mozilla.com>
To: Oren Freiberg <oren.freiberg@microsoft.com>, Brandon Jones <bajones@google.com>
CC: WebApps WG <public-webapps@w3.org>
On 4/29/2014 7:35 PM, Oren Freiberg wrote:
> Originally I was leaning towards live model but I am now leaning towards a snapshot model being the better option. We also found that there was added overhead with making the values live. Having had a few developers play around with both the idea of a snapshot vs live I observed it was much easier for them to add the snapshot approach to their already published games.  
> It also seemed easier for them to conceptual grab the concept I guess because it seemed like a more natural model that fit with their games where at each frame they grab the snapshot to modify that frame then repeat. 
This is good feedback, thanks. Currently due to the implementation
difference users are forced to consume the API as if it was providing
snapshots anyway if they want their code to work in Chrome, so settling
on a snapshot model would simply codify that existing behavior. We risk
breaking content that has special-cased Firefox's behavior or only works
in Firefox, I suppose, but the API doesn't have much surface area and
hasn't been around that long so that doesn't actually seem all that bad.

Received on Wednesday, 30 April 2014 01:29:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:24 UTC