motion control for external gamepad

This commit is contained in:
True Zhuanjia
2026-04-27 16:23:45 +08:00
parent e8d864ff66
commit ce67aefc3b
14 changed files with 832 additions and 329 deletions
@@ -453,8 +453,11 @@
_motionHandler = [MotionHandler sharedWithProfile: nil];
_motionHandler.gyroBiasX = _settings.gyroBiasX.doubleValue;
_motionHandler.gyroBiasY = _settings.gyroBiasY.doubleValue;
_motionHandler.gyroBiasZ = _settings.gyroBiasZ.doubleValue;
_motionHandler.gyroBiasZ = _settings.gyroBiasZ.doubleValue;
_motionHandler.controllerGyroBiasX = _settings.controllerGyroBiasX.doubleValue;
_motionHandler.controllerGyroBiasY = _settings.controllerGyroBiasY.doubleValue;
_motionHandler.controllerGyroBiasZ = _settings.controllerGyroBiasZ.doubleValue;
TouchPadGestureHandler.enablePinch = _settings.enablePinch;
TouchPadGestureHandler.ctrlDownForPinch = _settings.ctrlDownForPinch;
TouchPadGestureHandler.scrollSensitivity = _settings.scrollSensitivity.floatValue;