未验证 提交 90e59eec 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #16853 from fernandojsg/vivefocus

WebVRManager: Added Vive Focus controller support
......@@ -116,6 +116,7 @@ function WebVRManager( renderer ) {
if ( gamepad && ( gamepad.id === 'Daydream Controller' ||
gamepad.id === 'Gear VR Controller' || gamepad.id === 'Oculus Go Controller' ||
gamepad.id === 'OpenVR Gamepad' || gamepad.id.startsWith( 'Oculus Touch' ) ||
gamepad.id.startsWith( 'HTC Vive Focus' ) ||
gamepad.id.startsWith( 'Spatial Controller' ) ) ) {
if ( j === id ) return gamepad;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册