From ecd3f310790afffd0dd4b8a549f706b9881c8f60 Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Fri, 16 Mar 2018 14:10:51 -0700 Subject: [PATCH] GearVRController: Added Oculus Go support. --- examples/js/vr/GearVRController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/js/vr/GearVRController.js b/examples/js/vr/GearVRController.js index a217498e50..bda42560a9 100644 --- a/examples/js/vr/GearVRController.js +++ b/examples/js/vr/GearVRController.js @@ -24,7 +24,7 @@ THREE.GearVRController = function () { var gamepad = gamepads[ i ]; - if ( gamepad && ( gamepad.id === 'Gear VR Controller' ) ) { + if ( gamepad && ( gamepad.id === 'Gear VR Controller' || gamepad.id === 'Oculus Go Controller' ) ) { return gamepad; -- GitLab