softkeyboard & layout osw gesture interaction

This commit is contained in:
TrueZhuanjia
2025-06-14 01:12:16 +08:00
parent 16b1f9164f
commit 24fd69e7dc
455 changed files with 592 additions and 131057 deletions
+1 -1
View File
@@ -90,7 +90,7 @@
slideGestureVerticalThreshold = CGRectGetHeight([[UIScreen mainScreen] bounds]) * 0.4;
screenWidthWithThreshold = CGRectGetWidth([[UIScreen mainScreen] bounds]) - EDGE_TOLERANCE;
self->pointerVelocityDividerLocationByPoints = CGRectGetWidth([[UIScreen mainScreen] bounds]) * settings.pointerVelocityModeDivider.floatValue;
self->pointerVelocityDividerLocationByPoints = self->streamView.bounds.size.width * settings.pointerVelocityModeDivider.floatValue;
[NativeTouchPointer initContextWithView:self->streamView andSettings:settings];
//_touchesCapturedByOnScreenButtons = [[NSMutableSet alloc] init];
+1 -1
View File
@@ -89,7 +89,7 @@
slideGestureVerticalThreshold = CGRectGetHeight([[UIScreen mainScreen] bounds]) * 0.4;
screenWidthWithThreshold = CGRectGetWidth([[UIScreen mainScreen] bounds]) - EDGE_TOLERANCE;
self->pointerVelocityDividerLocationByPoints = CGRectGetWidth([[UIScreen mainScreen] bounds]) * settings.pointerVelocityModeDivider.floatValue;
self->pointerVelocityDividerLocationByPoints = self->streamView.bounds.size.width * settings.pointerVelocityModeDivider.floatValue;
[NativeTouchPointer initContextWithView:self->streamView andSettings:settings];
//_touchesCapturedByOnScreenButtons = [[NSMutableSet alloc] init];
+1 -3
View File
@@ -124,9 +124,7 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
self->touchHandler = [[RelativeTouchHandler alloc] initWithView:self];
#else
// iOS uses touch Mode depending on user preference
uint8_t mode = settings.touchMode.intValue;
switch (settings.touchMode.intValue) {
case NativeTouch:
keyboardToggleRecognizer.immediateTriggering = false;