Merge branch 'Integration' into ds5
This commit is contained in:
commit
e00e2f8000
1 file changed
+3
@@ -201,6 +201,9 @@ import CoreMotion
|
||||
if motion.sensorsRequireManualActivation {
|
||||
motion.sensorsActive = true
|
||||
}
|
||||
if rollToLeftStick {
|
||||
leftStickMotion = 0
|
||||
}
|
||||
if motion.sensorsActive {
|
||||
motion.valueChangedHandler = { [weak self] motion in
|
||||
self?.handleMotionData(gcMotion: motion)
|
||||
|
||||
Reference in new issue
Block a user