gyro: trigger osc on data updates

This commit is contained in:
bordun 2018-09-20 18:15:31 +02:00
parent 6e996f3dda
commit 83496df253
2 changed files with 8 additions and 2 deletions

View file

@ -63,7 +63,7 @@ class Gyroscope extends Widget {
this.sensor.start((data)=>{
this.setValue(data, {sync: true})
this.setValue(data, {sync: true, send: true})
// data.do.alpha ( deviceorientation event alpha value )
// data.do.beta ( deviceorientation event beta value )