Open WorldScott opened 5 years ago
How did you get it running locally? I tried the index.html but nothing happens when I hit pair and run
file:///home/parker/gearvr-controller-webbluetooth/index.html
Ok I finally got it to run by using the node.js http-server
Version 72.0.3626.81 (Official Build) beta (64-bit)
Ok I finally got it to run by using the node.js http-server
Version 72.0.3626.81 (Official Build) beta (64-bit)
did you use express?
I think it was literally with http-server
Just ran that in the root directory of the repo. https://www.npmjs.com/package/http-server
I managed to make it work under macOS/OS X 10.12.6.
It is necessary to activate the API by entering this address into the address bar chrome://flags/#enable-experimental-web-platform-features and then ticking the "Experimental Web Platform features" to enable it.
I've just tested it out and saw how the home button resets the position of the controller to zero in the demo.
I found that the demo here on Github works but not the one from your website.
Cheers,
-Scott