Merge branch 'Integration' into ds5

This commit is contained in:
True Zhuanjia
2026-08-17 20:42:03 +08:00
+3
View File
@@ -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)