Merge branch 'Integration' into ds5
emulated gyro fix
This commit is contained in:
commit
5bd938abc5
1 file changed
+1
@@ -2083,6 +2083,7 @@ double rc_expo(double x, double expo) {
|
|||||||
// Stop all timers to ensure a clean slate before applying the new setting.
|
// Stop all timers to ensure a clean slate before applying the new setting.
|
||||||
[self stopTimerForAllControllers];
|
[self stopTimerForAllControllers];
|
||||||
|
|
||||||
|
_gyroEnabledFlag = _gyroMode != GyroModeOff && tempSettings.emulatedControllerType.intValue == LI_CTYPE_PS;
|
||||||
switch(_gyroMode) {
|
switch(_gyroMode) {
|
||||||
case AlwaysController:
|
case AlwaysController:
|
||||||
// Activate timers only for physical controllers.
|
// Activate timers only for physical controllers.
|
||||||
|
|||||||
Reference in new issue
Block a user