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

WebXRManager: Refactoring and added connected/disconnected controller events. #18238

Merged
merged 2 commits into from Dec 24, 2019

Conversation

mrdoob
Copy link
Owner

@mrdoob mrdoob commented Dec 24, 2019

Addresses #15214 #15215 #18197

controller = renderer.xr.getController( 0 );
controller.addEventListener( 'connected', function ( event ) {

	// event.data === XRInputSource
	// https://www.w3.org/TR/webxr/#xrinputsource-interface

} );

@mrdoob mrdoob added this to the r112 milestone Dec 24, 2019
@mrdoob mrdoob merged commit 5b13bed into dev Dec 24, 2019
@mrdoob mrdoob deleted the webxr branch December 24, 2019 01:17
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.

None yet

1 participant