gyro: trigger osc on data updates

This commit is contained in:
bordun 2018-09-20 18:15:31 +02:00
parent db90e56e0b
commit 567f46e09a
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 )