如何将控制器蓝牙配置为 webvr
How to configure controller bluetooth to webvr
抱歉我的无知,但我有一个关于 webvr 控制器的问题
我可以配置这个 controller para webVR,即带有按钮、光标移动等的事件吗?
谢谢!!
如果您的控制器 returns 姿势信息,A 型框架组件(如激光控制)应该可以工作。如果您只需要按钮,我的按钮控件 (https://github.com/DougReeder/aframe-button-controls) should work. Otherwise, you'll need to use the GamePad API: https://www.google.com/url?q=https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API/Using_the_Gamepad_API
抱歉我的无知,但我有一个关于 webvr 控制器的问题
我可以配置这个 controller para webVR,即带有按钮、光标移动等的事件吗?
谢谢!!
如果您的控制器 returns 姿势信息,A 型框架组件(如激光控制)应该可以工作。如果您只需要按钮,我的按钮控件 (https://github.com/DougReeder/aframe-button-controls) should work. Otherwise, you'll need to use the GamePad API: https://www.google.com/url?q=https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API/Using_the_Gamepad_API