gyro: trigger osc on data updates
This commit is contained in:
parent
db90e56e0b
commit
567f46e09a
2 changed files with 8 additions and 2 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue