[SOLVED] Why there is only touchpad button detected with daydream controller in WebVR lab sample?

hi,

I’m tackling the input part of the sample WebVr Lab with daydream controller, and I don’t know why it returns only touchpad button always but no app button. And I made a minimal example to demonstrate what is going on.

https://playcanvas.com/editor/scene/520725

thanks in advance!

CL-Wu

It might be down to Daydream controller support in specific browser by GamePad API (not by PlayCanvas).

Another thing, it is not recommended to do debugging using alert, as it does changes focus and blocks JS execution, leading to weird results sometimes. Connect your browser for remote debugging to inspect console for best development comfort.

hi,

Appreciate your help. I’ll give it another try, thanks!

CL-Wu