From 2946d53ba66fba4e2a052b190ba4ba5d125181b3 Mon Sep 17 00:00:00 2001 From: minco Date: Fri, 15 May 2026 18:17:18 +0900 Subject: [PATCH] modify JunoIOBridge's input --- junoio-unity-mod/Assets/Scripts/JunoIoBridge.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/junoio-unity-mod/Assets/Scripts/JunoIoBridge.cs b/junoio-unity-mod/Assets/Scripts/JunoIoBridge.cs index e1ae137..499af4b 100644 --- a/junoio-unity-mod/Assets/Scripts/JunoIoBridge.cs +++ b/junoio-unity-mod/Assets/Scripts/JunoIoBridge.cs @@ -346,56 +346,67 @@ private void Update() if (_hasCommandedPitch) { craftScript.ActiveCommandPod.Controls.Pitch = _commandedPitch; + craftScript.ActiveCommandPod.Controls.OffsetPitch = _commandedPitch; } if (_hasCommandedRoll) { craftScript.ActiveCommandPod.Controls.Roll = _commandedRoll; + craftScript.ActiveCommandPod.Controls.OffsetRoll = _commandedRoll; } if (_hasCommandedYaw) { craftScript.ActiveCommandPod.Controls.Yaw = _commandedYaw; + craftScript.ActiveCommandPod.Controls.OffsetYaw = _commandedYaw; } if (_hasCommandedBrake) { craftScript.ActiveCommandPod.Controls.Brake = _commandedBrake; + craftScript.ActiveCommandPod.Controls.OffsetBrake = _commandedBrake; } if (_hasCommandedTranslateForward) { craftScript.ActiveCommandPod.Controls.TranslateForward = _commandedTranslateForward; + craftScript.ActiveCommandPod.Controls.OffsetTranslateForward = _commandedTranslateForward; } if (_hasCommandedTranslateRight) { craftScript.ActiveCommandPod.Controls.TranslateRight = _commandedTranslateRight; + craftScript.ActiveCommandPod.Controls.OffsetTranslateRight = _commandedTranslateRight; } if (_hasCommandedTranslateUp) { craftScript.ActiveCommandPod.Controls.TranslateUp = _commandedTranslateUp; + craftScript.ActiveCommandPod.Controls.OffsetTranslateUp = _commandedTranslateUp; } if (_hasCommandedSlider1) { craftScript.ActiveCommandPod.Controls.Slider1 = _commandedSlider1; + craftScript.ActiveCommandPod.Controls.OffsetSlider1 = _commandedSlider1; } if (_hasCommandedSlider2) { craftScript.ActiveCommandPod.Controls.Slider2 = _commandedSlider2; + craftScript.ActiveCommandPod.Controls.OffsetSlider2 = _commandedSlider2; } if (_hasCommandedSlider3) { craftScript.ActiveCommandPod.Controls.Slider3 = _commandedSlider3; + craftScript.ActiveCommandPod.Controls.OffsetSlider3 = _commandedSlider3; } if (_hasCommandedSlider4) { craftScript.ActiveCommandPod.Controls.Slider4 = _commandedSlider4; + craftScript.ActiveCommandPod.Controls.OffsetSlider4 = _commandedSlider4; } if (_hasCommandedTranslationModeEnabled)