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

Vibrator API: extract from Navigator

From: João Eiras <joaoe@opera.com>
Date: Mon, 07 Nov 2011 19:03:53 +0100
To: public-device-apis@w3.org
Message-ID: <op.v4k8grx92q99of@joaoe>


The vibrator API's WebIDL [1] should not expose the two methods directly  
in the navigator object.

Instead it should be in a separate interface, so it can be implemented as  
a singleton API in the window/navigator object for a mobile device like a  
phone, or can be implemented on top of the gamepad object whenever the  
gamepad APIs moves forward, to feed vibration back to the controller.


[1] http://dev.w3.org/2009/dap/vibration/
Received on Monday, 7 November 2011 18:04:36 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:51 UTC