diff --git a/Limelight/Base.lproj/iPad.storyboard b/Limelight/Base.lproj/iPad.storyboard index 2467b20f..fab37407 100644 --- a/Limelight/Base.lproj/iPad.storyboard +++ b/Limelight/Base.lproj/iPad.storyboard @@ -212,7 +212,6 @@ - diff --git a/Limelight/Base.lproj/iPhone.storyboard b/Limelight/Base.lproj/iPhone.storyboard index ba657a55..1759ea43 100644 --- a/Limelight/Base.lproj/iPhone.storyboard +++ b/Limelight/Base.lproj/iPhone.storyboard @@ -230,7 +230,6 @@ ICAgICAgICAgICAgIA - diff --git a/Limelight/Input/OnScreenControls.h b/Limelight/Input/OnScreenControls.h index 23298ddc..2c647b42 100644 --- a/Limelight/Input/OnScreenControls.h +++ b/Limelight/Input/OnScreenControls.h @@ -20,11 +20,11 @@ static const float BUTTON_DIST = 20; typedef NS_ENUM(NSInteger, OnScreenControlsLevel) { OnScreenControlsLevelOff, - OnScreenControlsLevelAuto, OnScreenControlsLevelSimple, OnScreenControlsLevelFull, OnScreenControlsLevelCustom, - + OnScreenControlsLevelAuto, // move it here instead of delete , to ensure integrity of the codes + // Internal levels selected by ControllerSupport OnScreenControlsLevelAutoGCGamepad, OnScreenControlsLevelAutoGCExtendedGamepad, diff --git a/Limelight/Input/StreamView.m b/Limelight/Input/StreamView.m index df58fa05..654b76c3 100644 --- a/Limelight/Input/StreamView.m +++ b/Limelight/Input/StreamView.m @@ -106,6 +106,7 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5; case REGULAR_NATIVE_TOUCH: keyboardToggleRecognizer.immediateTriggering = false; if(settings.onscreenControls.intValue == OnScreenControlsLevelCustom) keyboardToggleRecognizer.numberOfTouchesRequired = 3; //fixing keyboard taps to 3, in order to invoke OSC rebase in stream view by 4-finger tap. + case PURE_NATIVE_TOUCH: self->touchHandler = [[NativeTouchHandler alloc] initWithView:self andSettings:settings];break; case RELATIVE_TOUCH: @@ -128,7 +129,8 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5; Log(LOG_I, @"On-screen controls disabled in non-relative touch mode"); [onScreenControls setLevel:OnScreenControlsLevelOff]; } - else if (level == OnScreenControlsLevelAuto) { + //else if (level == OnScreenControlsLevelAuto) { + else if (false) { // level auto cancelled in settings [controllerSupport initAutoOnScreenControlMode:onScreenControls]; } else { diff --git a/Limelight/mul.lproj/iPad.xcstrings b/Limelight/mul.lproj/iPad.xcstrings index 252c59ba..dd3ed72c 100644 --- a/Limelight/mul.lproj/iPad.xcstrings +++ b/Limelight/mul.lproj/iPad.xcstrings @@ -1628,37 +1628,7 @@ } }, "qSU-wh-tqA.segmentTitles[1]" : { - "comment" : "Class = \"UISegmentedControl\"; qSU-wh-tqA.segmentTitles[1] = \"Auto\"; ObjectID = \"qSU-wh-tqA\";", - "extractionState" : "extracted_with_value", - "localizations" : { - "en" : { - "stringUnit" : { - "state" : "new", - "value" : "Auto" - } - }, - "zh-Hans" : { - "stringUnit" : { - "state" : "translated", - "value" : "自动" - } - }, - "zh-Hant" : { - "stringUnit" : { - "state" : "translated", - "value" : "自动" - } - }, - "zh-HK" : { - "stringUnit" : { - "state" : "translated", - "value" : "自动" - } - } - } - }, - "qSU-wh-tqA.segmentTitles[2]" : { - "comment" : "Class = \"UISegmentedControl\"; qSU-wh-tqA.segmentTitles[2] = \"Simple\"; ObjectID = \"qSU-wh-tqA\";", + "comment" : "Class = \"UISegmentedControl\"; qSU-wh-tqA.segmentTitles[1] = \"Simple\"; ObjectID = \"qSU-wh-tqA\";", "extractionState" : "extracted_with_value", "localizations" : { "en" : { @@ -1687,8 +1657,8 @@ } } }, - "qSU-wh-tqA.segmentTitles[3]" : { - "comment" : "Class = \"UISegmentedControl\"; qSU-wh-tqA.segmentTitles[3] = \"Full\"; ObjectID = \"qSU-wh-tqA\";", + "qSU-wh-tqA.segmentTitles[2]" : { + "comment" : "Class = \"UISegmentedControl\"; qSU-wh-tqA.segmentTitles[2] = \"Full\"; ObjectID = \"qSU-wh-tqA\";", "extractionState" : "extracted_with_value", "localizations" : { "en" : { @@ -1717,9 +1687,39 @@ } } }, + "qSU-wh-tqA.segmentTitles[3]" : { + "comment" : "Class = \"UISegmentedControl\"; qSU-wh-tqA.segmentTitles[3] = \"Custom\"; ObjectID = \"qSU-wh-tqA\";", + "extractionState" : "extracted_with_value", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "new", + "value" : "Custom" + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "自定义" + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "translated", + "value" : "自定义" + } + }, + "zh-HK" : { + "stringUnit" : { + "state" : "translated", + "value" : "自定义" + } + } + } + }, "qSU-wh-tqA.segmentTitles[4]" : { "comment" : "Class = \"UISegmentedControl\"; qSU-wh-tqA.segmentTitles[4] = \"Custom\"; ObjectID = \"qSU-wh-tqA\";", - "extractionState" : "extracted_with_value", + "extractionState" : "stale", "localizations" : { "en" : { "stringUnit" : { diff --git a/Limelight/mul.lproj/iPhone.xcstrings b/Limelight/mul.lproj/iPhone.xcstrings index b30dabd5..d1b8ff2b 100644 --- a/Limelight/mul.lproj/iPhone.xcstrings +++ b/Limelight/mul.lproj/iPhone.xcstrings @@ -1730,37 +1730,7 @@ } }, "WGf-9d-eAm.segmentTitles[1]" : { - "comment" : "Class = \"UISegmentedControl\"; WGf-9d-eAm.segmentTitles[1] = \"Auto\"; ObjectID = \"WGf-9d-eAm\";", - "extractionState" : "extracted_with_value", - "localizations" : { - "en" : { - "stringUnit" : { - "state" : "new", - "value" : "Auto" - } - }, - "zh-Hans" : { - "stringUnit" : { - "state" : "translated", - "value" : "自动" - } - }, - "zh-Hant" : { - "stringUnit" : { - "state" : "translated", - "value" : "自动" - } - }, - "zh-HK" : { - "stringUnit" : { - "state" : "translated", - "value" : "自动" - } - } - } - }, - "WGf-9d-eAm.segmentTitles[2]" : { - "comment" : "Class = \"UISegmentedControl\"; WGf-9d-eAm.segmentTitles[2] = \"Simple\"; ObjectID = \"WGf-9d-eAm\";", + "comment" : "Class = \"UISegmentedControl\"; WGf-9d-eAm.segmentTitles[1] = \"Simple\"; ObjectID = \"WGf-9d-eAm\";", "extractionState" : "extracted_with_value", "localizations" : { "en" : { @@ -1789,8 +1759,8 @@ } } }, - "WGf-9d-eAm.segmentTitles[3]" : { - "comment" : "Class = \"UISegmentedControl\"; WGf-9d-eAm.segmentTitles[3] = \"Full\"; ObjectID = \"WGf-9d-eAm\";", + "WGf-9d-eAm.segmentTitles[2]" : { + "comment" : "Class = \"UISegmentedControl\"; WGf-9d-eAm.segmentTitles[2] = \"Full\"; ObjectID = \"WGf-9d-eAm\";", "extractionState" : "extracted_with_value", "localizations" : { "en" : { @@ -1819,9 +1789,39 @@ } } }, + "WGf-9d-eAm.segmentTitles[3]" : { + "comment" : "Class = \"UISegmentedControl\"; WGf-9d-eAm.segmentTitles[3] = \"Custom\"; ObjectID = \"WGf-9d-eAm\";", + "extractionState" : "extracted_with_value", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "new", + "value" : "Custom" + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "自定义" + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "translated", + "value" : "自定义" + } + }, + "zh-HK" : { + "stringUnit" : { + "state" : "translated", + "value" : "自定义" + } + } + } + }, "WGf-9d-eAm.segmentTitles[4]" : { "comment" : "Class = \"UISegmentedControl\"; WGf-9d-eAm.segmentTitles[4] = \"Custom\"; ObjectID = \"WGf-9d-eAm\";", - "extractionState" : "extracted_with_value", + "extractionState" : "stale", "localizations" : { "en" : { "stringUnit" : {