Skip to content

updated explainer#1220

Open
snehagarwal1 wants to merge 2 commits intoMicrosoftEdge:mainfrom
snehagarwal1:user/snehagarwal/update-explainer-post-prototype
Open

updated explainer#1220
snehagarwal1 wants to merge 2 commits intoMicrosoftEdge:mainfrom
snehagarwal1:user/snehagarwal/update-explainer-post-prototype

Conversation

@snehagarwal1
Copy link
Contributor

Update gamepad raw input event explainer based on prototype implementation
This CL updates the explainer to reflect insights gained from the
prototype implementation:

Clarify event dispatch model:

  • Event inherits from Gamepad object rather than the event itself
  • Removed Gamepad snapshot attribute
  • There is no longer a need for a Gamepad live object therefore Events dispatch on Window object instead of Gamepad (matching implemented IDL)
  • Update examples to reflect actual event target.

Align examples with actual IDL:

  • Added touchesChanged property in the event.
  • Corrected name of the event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant