W3C home > Mailing lists > Public > public-device-apis@w3.org > November 2012

Re: [Vibration] Feedback on the Vibration API

From: Henri Sivonen <hsivonen@iki.fi>
Date: Wed, 7 Nov 2012 15:26:16 +0200
Message-ID: <CAJQvAufELUsXPTXrn6+aKoqVVKK4Ht9n2L6ajTPJ6bDDHUDJpA@mail.gmail.com>
To: Anssi Kostiainen <anssi.kostiainen@nokia.com>
Cc: ext David Bruant <bruant.d@gmail.com>, "DAP public-device-apis@w3.org" <public-device-apis@w3.org>, Marcos Caceres <w3c@marcosc.com>
On Tue, Nov 6, 2012 at 11:35 AM, Anssi Kostiainen
<anssi.kostiainen@nokia.com> wrote:
> In early drafts we had 'vibrationstart' and 'vibrationend' events but we dropped them from v1 as we did not have compelling use cases for them. As always, we're happy to reconsider adding something similar in v2 if we unearth new use cases. I've added a note about this to our FutureWork wiki, so we don't forget:

Passing callbacks to the vibration request would make it easier to
correlate vibration start and end with the request. For precedent,
consider how requestAnimationFrame migrated from an event to a
callback.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Wednesday, 7 November 2012 13:26:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 13:26:49 GMT