- From: Matt Reynolds <notifications@github.com>
- Date: Wed, 08 Jun 2022 17:23:48 -0700
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 9 June 2022 00:24:00 UTC
@nondebug commented on this pull request.
> + </li>
+ <li>If [=this=].{{GamepadHapticActuator/[[playingEffectPromise]]}}
+ is not `undefined`:
+ <ol>
+ <li>[=Queue a global task=] on the [=relevant global object=]
+ of [=this=] using the [=gamepad task source=] to [=resolve=]
+ [=this=].{{GamepadHapticActuator/[[playingEffectPromise]]}}
+ with {{GamepadHapticsResult/"preempted"}}.
+ </li>
+ <li>Set
+ [=this=].{{GamepadHapticActuator/[[playingEffectPromise]]}} to
+ `undefined`.
+ </li>
+ </ol>
+ </li>
+ <li>If this actuator cannot [=play effects with type=] |type|,
`NotSupportedError` seems reasonable here.
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/163#discussion_r892969789
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/gamepad/pull/163/review/1000587792@github.com>
Received on Thursday, 9 June 2022 00:24:00 UTC