From 17e3fd07f93afdc752cd115c8613ad36029df3ad Mon Sep 17 00:00:00 2001 From: TrueZhuanjia Date: Sat, 27 Dec 2025 14:15:51 +0800 Subject: [PATCH] quick double tap button for lsWheel/rsWheel --- VoidLink/Input/OnScreenWidgetView.swift | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/VoidLink/Input/OnScreenWidgetView.swift b/VoidLink/Input/OnScreenWidgetView.swift index 65f0d8fb..87952c6f 100644 --- a/VoidLink/Input/OnScreenWidgetView.swift +++ b/VoidLink/Input/OnScreenWidgetView.swift @@ -301,9 +301,9 @@ import SVGKit self.motionControlButtonString = Set(self.comboButtonStrings).intersection(Set(CommandManager.motionControlButtonCmds)).first ?? "" switch self.cmdString { - case "LSPAD", "LSVPAD": + case "LSPAD", "LSVPAD", "LSWHEEL": self.comboButtonStrings = ["OSCL3"] - case "RSPAD", "RSVPAD": + case "RSPAD", "RSVPAD", "RSWHEEL": self.comboButtonStrings = ["OSCR3"] case "DS4TOUCH": self.comboButtonStrings = ["DS4TCHBTN"] @@ -1726,6 +1726,9 @@ import SVGKit case "LSWHEEL","RSWHEEL": self.getVector(touch: touches.first!) self.handleStickWheelMove(touch: touches.first!) + if quickDoubleTapDetected { + self.showl3r3Indicator() + self.sendComboButtonsDownEvent(comboStrings: self.comboButtonStrings)} case "LSPAD","RSPAD": self.showStickIndicator() if quickDoubleTapDetected {