Skip to content

Event-Driven Gamepad Input API #1000

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

snehagarwal1
Copy link
Contributor

@snehagarwal1 snehagarwal1 commented Mar 28, 2025

This explainer proposes an event-driven Gamepad API modeled after existing keyboard and mouse event systems, that enables applications to respond instantly to input changes as they happen. By reducing the need for continuous polling, this approach supports real-time responsiveness, making it especially valuable for latency-sensitive scenarios like cloud gaming.

Copy link
Contributor Author

@snehagarwal1 snehagarwal1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Gabriel,

Thank you for reviewing!
I have addressed your comments. I am currently iterating on the explainer and removing some content related to the threshold logic for the scope of this doc, so I have left out some comments on purpose.

Thanks

snehagarwal1 and others added 2 commits April 2, 2025 10:42
Co-authored-by: Gabriel Brito <80070607+gabrielsanbrito@users.noreply.github.com>
Co-authored-by: Gabriel Brito <80070607+gabrielsanbrito@users.noreply.github.com>
@SteveBeckerMSFT SteveBeckerMSFT self-requested a review April 2, 2025 22:07
snehagarwal1 and others added 5 commits April 8, 2025 20:28
Co-authored-by: Gabriel Brito <80070607+gabrielsanbrito@users.noreply.github.com>
Co-authored-by: Gabriel Brito <80070607+gabrielsanbrito@users.noreply.github.com>
Co-authored-by: Gabriel Brito <80070607+gabrielsanbrito@users.noreply.github.com>
@snehagarwal1 snehagarwal1 changed the title Gamepad Button and Axis Events Event-Driven Gamepad Input API Apr 11, 2025
Copy link
Contributor Author

@snehagarwal1 snehagarwal1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Gabriel,
Resolving the comments

Copy link
Contributor

@gabrielsanbrito gabrielsanbrito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM % nits

Thanks for working through the comments!

@SteveBeckerMSFT SteveBeckerMSFT merged commit 05b1e81 into MicrosoftEdge:main May 2, 2025
1 check passed
joone pushed a commit to joone/MSEdgeExplainers that referenced this pull request May 9, 2025
Publish explainer for rawgamepadinputchange 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.

3 participants