W3C home > Mailing lists > Public > public-device-apis@w3.org > April 2014

Re: [vibration] Vibration related thread on webapps list

From: Kostiainen, Anssi <anssi.kostiainen@intel.com>
Date: Thu, 3 Apr 2014 12:58:06 +0000
To: Mounir Lamouri <mounir@lamouri.fr>
CC: "Frederick.Hirsch@nokia.com" <Frederick.Hirsch@nokia.com>, "public-device-apis@w3.org" <public-device-apis@w3.org>
Message-ID: <D05250B6-B9B0-4F93-B4D7-45F2316AA4F9@intel.com>
On 27 Mar 2014, at 20:16, Mounir Lamouri <mounir@lamouri.fr> wrote:

> Maybe the vibration api could define a |Vibrator| interface and have
> |Navigator implement Vibrator| so it would be easier for other
> specifications to extend or re-use it?

We actually had that in the earlier versions of the spec that way, see my comment at the bottom [1]. Based on Jonasí feedback [2] and group consensus we changed to the current design.

The concrete use case we had in mind for a separate interface was to -- perhaps not surprisingly -- allow the Gamapad API to reuse the interface :-)

I revisited the recent thread on public-webapps [3] and I sensed no consensus on adding the feature to the Gamepad API at this time, so I suggest we keep the Vibration API as is for now.



[1] http://lists.w3.org/Archives/Public/public-device-apis/2012Sep/0004.html
[2] http://lists.w3.org/Archives/Public/public-device-apis/2012Sep/0006.html
[3] http://lists.w3.org/Archives/Public/public-webapps/2014JanMar/0722.html
Received on Thursday, 3 April 2014 12:59:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:33:06 UTC