Mobile Cesium VR and AR - convert HTML5 device orientation into cesium camera controls?

I've modified very slightly the Cardboard example to respond to a VR device orientation. However since I do not have a VR device I'm using Chrome with the WebVR API Emulation at:https://chrome.google.com/webstore/detail/webvr-api-emulation/gbdnpaebafagioggnhkacnaaahpiefil?hl=en

Put this example at: https://github.com/workingDog/webvrcesium/blob/master/jscriptonly.html
in the Cesium/Apps folder, launch Cesium (node server.js) and point your browser to
to http://localhost:8080/Apps/jscriptonly.html

In Chrome go to

      View->Developer->Developer Tools

then in the "developer tools" top bar, click on the ">>" and select "WebVR"

The WebVR emulation will then be displayed.
Type "e" at the keyboard to go into "rotation" mode and use the mouse to turn the rotation widget.

This is just to say that the orientations seem to be ok for me.