Skip to content
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

Gamepad should be live #23269

Open
Manishearth opened this issue Apr 25, 2019 · 0 comments
Open

Gamepad should be live #23269

Manishearth opened this issue Apr 25, 2019 · 0 comments

Comments

@Manishearth
Copy link
Member

The current Gamepad impl requires a new getGamepads() request to get updated gamepad state. This doesn't match what browsers do, see immersive-web/webxr#608 (comment) . The Gamepad objects once obtained should be keeping themselves up to date.

We'd need some kind of way for a page to register interest in gamepad info and then get gamepad updates every now and then. Alternatively, it should be able to request gamepad info realtime whenever the user accesses a gamepad attribute.

(We should figure out what Firefox does and do that, probably)

cc @MortimerGoro

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

No branches or pull requests

1 participant