Merge branch 'Integration' into ds5

emulated gyro fix
This commit is contained in:
True Zhuanjia
2026-08-17 17:43:23 +08:00
+1
View File
@@ -2083,6 +2083,7 @@ double rc_expo(double x, double expo) {
// Stop all timers to ensure a clean slate before applying the new setting.
[self stopTimerForAllControllers];
_gyroEnabledFlag = _gyroMode != GyroModeOff && tempSettings.emulatedControllerType.intValue == LI_CTYPE_PS;
switch(_gyroMode) {
case AlwaysController:
// Activate timers only for physical controllers.