There's a bug[1] filed for removing the Vibrate option from Clock if the hardware doesn't support vibration. According to the IDL docs for navigator.vibrate, " If the device does not have a vibrator, this function does nothing.", so I can't just feature detect on "navigator.vibrate".

Is there any existing API or feature detect implemented to actually detect whether a device has a vibration motor?

Marcus

[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=964770
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to