Move camera based on accelerometer data

Is there any example where camera is changing its position based on accelerometer data?

Actually the DeviceOrientationCamera is exactly that:
Babylon.js/deviceOrientationCamera.ts at master ยท BabylonJS/Babylon.js (github.com)