- From: Matt Reynolds <notifications@github.com>
- Date: Thu, 14 Dec 2023 15:49:33 -0800
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 14 December 2023 23:49:39 UTC
@nondebug commented on this pull request. > + <li>Let |effectPromise| be + [=this=].{{GamepadHapticActuator/[[playingEffectPromise]]}}. + </li> + <li>Set + [=this=].{{GamepadHapticActuator/[[playingEffectPromise]]}} to + `undefined`. + </li> + <li>[=Queue a global task=] on the [=relevant global object=] + of [=this=] using the [=gamepad task source=] to [=resolve=] + |effectPromise| with {{GamepadHapticsResult/"preempted"}}. + </li> + </ol> + </li> + <li>[=Stop haptic effects=] on this actuator. + </li> + <li>Return [=a promise resolved with=] I wrote it this way because we generally don't get any signal from the OS or device that the effect was actually stopped. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/gamepad/pull/190#discussion_r1427414330 You are receiving this because you are subscribed to this thread. Message ID: <w3c/gamepad/pull/190/review/1782933358@github.com>
Received on Thursday, 14 December 2023 23:49:39 UTC