Merge branch 'Integration' into ds5
This commit is contained in:
@@ -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