On Wednesday, February 12, 2014 7:52:52 AM UTC-8, Marcus Cavanaugh wrote: > I've filed a bug: > > > > https://bugzilla.mozilla.org/show_bug.cgi?id=971729 > > > > Not sure what the correct solution would be, but it seems there should > > be some way to detect it. > > > > On 2/12/14, 3:19 AM, Jonas Sicking wrote: > > > Hmm.. We should probably make the function not exist if the hardware > > > doesn't support vibration.
For what it's worth, vibration doesn't seem to work on Flatfish. I just tested it with an app I wrote using the vibration API that works on earlier phones, but does not work on Flatfish. If you want to see the code, it is at http://firefoxosgaming.blogspot.com/2013/12/vibration-game-programming.html. I'll make a separate post, but it seems like Flatfish does not support Device Orientation either. Vibration I can live without, but Device Orientation seems pretty useful. _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
