Re: [w3c/gamepad] Added a supplemental "Extensions" spec (#32)

> +      interface GamepadHaptic {
> +        boolean vibrate(double intensity, double duration);
> +      };
> +      </pre>
> +
> +      <dl data-dfn-for="GamepadHaptic">
> +        <dt><dfn data-lt="vibrate()">vibrate</dfn></dt>
> +        <dd>
> +          The <code>vibrate()</code> method engages the haptic
> +          feedback motor for <var>duration</var> milliseconds.
> +
> +          If the haptic feedback motor is capable of modulating the intensity of it's
> +          feedback, it should scale it's output by <var>intensity</var>,
> +          clamped to a [0, 1] range with 0 being no output and 1 being full
> +          output. If the haptic feedback motor is not capable of modulating the
> +          intensity of it's feedback it should provide it's default output if any

comma after `feedback`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/32/files/6a7bdfaf492c994ce9c77771c52672387ced6b46#r78494215

Received on Tuesday, 13 September 2016 04:13:15 UTC