Fwd: Re: controller vibration / rumble

FYI.

(Mikkel - the Vibration API is being spec'ed by the DAP WG and they use 
the public-device-apis list.)

-------- Original Message --------
Subject: 	Re: controller vibration / rumble
Resent-Date: 	Mon, 5 Aug 2013 17:11:54 +0000
Resent-From: 	<public-webapps@w3.org>
Date: 	Mon, 5 Aug 2013 10:11:05 -0700
From: 	ext Tab Atkins Jr. <jackalmage@gmail.com>
To: 	Mikkel Staunsholm <staunsholm@gmail.com>
CC: 	public-webapps <public-webapps@w3.org>



On Thu, Aug 1, 2013 at 2:31 AM, Mikkel Staunsholm <staunsholm@gmail.com> wrote:
> Been toying with adding rumble to the gamepad api. Something like:
>
> partial interface Gamepad {
>     Rumbler[]   getRumblers();
> };
>
> interface Rumbler {
>     readonly    attribute DOMString           id;
>
>     void        start(double strength, double periodInMilliseconds); //
> leave out period to rumble indefinitely
>     void        stop();
> };
>
> Any comments on that?
> Should it resemble the vibrations api more (with patterns, and turning it
> off by setting strength to 0)?
> Should it be in the vibrations api instead (I don't think so)?
>
> Regards,
> Mikkel Staunsholm
> @staunsholm
>
>
> PS! I don't know if it is possible/feasible to make rumbling work on
> osx/linux - fx. JInput doesn't report any ps3 rumblers on osx...

It seems pretty clear to me that controller rumbling should be as
closely matched with phone vibration as possible.

~TJ

Received on Friday, 9 August 2013 14:14:26 UTC