diff --git a/VoidLink/Input/MotionHandler.swift b/VoidLink/Input/MotionHandler.swift index 0f9abb55..7339bb0d 100644 --- a/VoidLink/Input/MotionHandler.swift +++ b/VoidLink/Input/MotionHandler.swift @@ -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) diff --git a/VoidLink/Input/OnScreenWidgetView.swift b/VoidLink/Input/OnScreenWidgetView.swift index fcbc693a..14e66b8c 100644 --- a/VoidLink/Input/OnScreenWidgetView.swift +++ b/VoidLink/Input/OnScreenWidgetView.swift @@ -705,6 +705,7 @@ import ObjectiveC.runtime self.isMultipleTouchEnabled = self.widgetType == WidgetTypeEnum.button || CommandManager.mousePadWithButtonActions.contains(self.touchPadString) || self.touchPadString == "MAGNIFIER" + || self.touchPadString == "DS4TOUCH" } // ====================================================================================================== @@ -2270,7 +2271,10 @@ import ObjectiveC.runtime case "DS4TOUCH": if quickDoubleTapDetected { self.showl3r3Indicator() - self.sendComboButtonsDownEvent(comboStrings: self.comboButtonStrings)} + if activeTouchesCount < 2 { + self.sendComboButtonsDownEvent(comboStrings: self.comboButtonStrings) + } + } case "DPAD", "WASDPAD", "ARROWPAD": if activeTouchesCount == 1 { // showLrudBall(at: touchBeganLocation)