jsyang / gearvr-controller-webbluetooth

Gear VR controller web bluetooth demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Works with Chromium Version 58.0.3029.110 (64-bit) as well (and likely later versions)

WorldScott opened this issue · comments

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

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

image

Version 72.0.3626.81 (Official Build) beta (64-bit)

Ok I finally got it to run by using the node.js http-server

image

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