- From: Marcos Cáceres <notifications@github.com>
- Date: Wed, 22 Jun 2022 23:11:22 -0700
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 23 June 2022 06:11:34 UTC
@marcoscaceres commented on this pull request.
> + global object=] of [=this=] using the [=gamepad task source=] to
+ run the following steps:
+ <ol>
+ <li>[=Resolve=]
+ [=this=].{{GamepadHapticActuator/[[playingEffectPromise]]}}
+ with {{GamepadHapticsResult/"preempted"}}.
+ </li>
+ <li>Set
+ [=this=].{{GamepadHapticActuator/[[playingEffectPromise]]}} to
+ `undefined`.
+ </li>
+ </ol>
+ </li>
+ <li>[=Stop haptic effects=] on this actuator.
+ </li>
+ <li>Return [=a promise resolved with=]
The promise should probably only resolve once it gets confirmation over IPC that the actuator has actually stopped.
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/163#pullrequestreview-1016436102
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/gamepad/pull/163/review/1016436102@github.com>
Received on Thursday, 23 June 2022 06:11:34 UTC