Skip to content

Commit 90e59ee

Browse files
authored
Merge pull request #16853 from fernandojsg/vivefocus
WebVRManager: Added Vive Focus controller support
2 parents 687f161 + 43cb3b4 commit 90e59ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/renderers/webvr/WebVRManager.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ function WebVRManager( renderer ) {
116116
if ( gamepad && ( gamepad.id === 'Daydream Controller' ||
117117
gamepad.id === 'Gear VR Controller' || gamepad.id === 'Oculus Go Controller' ||
118118
gamepad.id === 'OpenVR Gamepad' || gamepad.id.startsWith( 'Oculus Touch' ) ||
119+
gamepad.id.startsWith( 'HTC Vive Focus' ) ||
119120
gamepad.id.startsWith( 'Spatial Controller' ) ) ) {
120121

121122
if ( j === id ) return gamepad;

0 commit comments

Comments
 (0)