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

VRDisplayEvent implementation #15

Open
ygilquin-gpsw opened this issue Sep 14, 2016 · 1 comment
Open

VRDisplayEvent implementation #15

ygilquin-gpsw opened this issue Sep 14, 2016 · 1 comment

Comments

@ygilquin-gpsw
Copy link

VRDisplayEvent received when onvrdisplaypresentchange is triggered should have a display property pointing on the VRDisplay instance.

From the spec

interface VRDisplayEvent : Event {
  readonly attribute VRDisplay display;
  readonly attribute VRDisplayEventReason? reason;
};

This would be a great addition. Thanks.

@spite
Copy link
Owner

spite commented Sep 14, 2016

Should be fixed with this 4655fdf but I don't see an easy way to properly mimick VRDisplayEvent with CustomEvents. I hope nobody tries to check the event typeof...

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

2 participants