I am trying so far unsuccessfully to make a VR controller joystick trigger scene changes.
The basis is an action, like the one in depthmap_navigation.xml, that inserts a JS function in krpano.renderloop. With webvr enabled, this polls the controller states, and can use joystick motions to rotate the view. It can also decode the event (move out, let go back) -- a kind of 'click' -- but if I then call skin_nextscene_loop() the screen goes black without any message in the log.
I assume the cause is some race condition that could be solved by synchronizing the renderloop function with the scene update. But I don' kno2 hos to do that.