- From: nondebug <notifications@github.com>
- Date: Tue, 27 Feb 2018 20:54:36 +0000 (UTC)
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/gamepad/pull/68/review/99850540@github.com>
nondebug commented on this pull request. > + <dt><dfn>dual-rumble</dfn></dt> + <dd> + A dual-rumble effect is a fixed-length, constant-intensity vibration + effect intended for an actuator of type <code>'dual-rumble'</code>. + Dual-rumble effects are defined by four parameters. + <var>duration</var> sets the duration of the vibration effect in + milliseconds, default 0. <var>startDelay</var> sets the duration of + the delay after <code>playEffect()</code> is called until vibration + is started, default 0. During the delay interval, the actuator must + not vibrate. To prevent abuse, the user agent should consider an + effect invalid if the total effect duration (the sum of the vibration + interval and delay interval) exceeds some reasonable value, say 5 + seconds. <var>strongMagnitude</var> and <var>weakMagnitude</var> set + the vibration intensity levels for the heavier and lighter ERM + motors, normalized to the range <code>[0,1]</code>, default 0. + </dd> Yes, 0 is valid for all parameters. A dual-rumble effect with the default parameters describes a 0-length effect with no vibration from either motor. In practice it behaves the same as calling reset(). -- 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/68#discussion_r171062663
Received on Tuesday, 27 February 2018 20:55:00 UTC