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

@ -1,9 +1,15 @@
# Changelog
## 0.37.3
- bug fixes
- gyroscope: osc sendings not properly triggered on value updates
## 0.37.2
- bug fixes
- osc: regression making empty `preArgs` count as one empty string argument
- osc: regression making empty `preArgs` count as one empty string argument
## 0.37.1

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 )