From 11b79dda5b8c8a008667ef3c0d79771d5eaa55dc Mon Sep 17 00:00:00 2001 From: TrueZhuanjia Date: Tue, 14 Oct 2025 01:37:22 +0800 Subject: [PATCH] - feat: yaw & pitch factor for each on-screen "gyro" button for seamlessly toggling among different level of gyro sensitivities. --- VoidLink/Base.lproj/iPad.storyboard | 60 ++++- VoidLink/Base.lproj/iPhone.storyboard | 66 +++++- VoidLink/Input/CustomOSC/OSCProfilesManager.m | 2 + .../Input/CustomOSC/OnScreenButtonState.h | 2 + .../Input/CustomOSC/OnScreenButtonState.m | 4 + VoidLink/Input/MotionHandler.swift | 71 ++++-- VoidLink/Input/OnScreenWidgetView.swift | 208 +++++++++++------- VoidLink/Input/StreamView.m | 4 +- VoidLink/Localization/Localizable.xcstrings | 46 ++++ .../LayoutOnScreenControlsViewController.h | 8 + .../LayoutOnScreenControlsViewController.m | 59 ++++- .../StreamFrameViewController.m | 35 ++- VoidLink/mul.lproj/iPad.xcstrings | 60 +++++ VoidLink/mul.lproj/iPhone.xcstrings | 24 ++ 14 files changed, 518 insertions(+), 131 deletions(-) diff --git a/VoidLink/Base.lproj/iPad.storyboard b/VoidLink/Base.lproj/iPad.storyboard index 4b678969..561e64d1 100644 --- a/VoidLink/Base.lproj/iPad.storyboard +++ b/VoidLink/Base.lproj/iPad.storyboard @@ -1360,16 +1360,16 @@ - + - + @@ -1825,7 +1825,7 @@ - + - + + + + + + + + + + + + + + + + + + + + + + + - + - +