fixed: soft keyboard brought up by iOS26 system-level action
This commit is contained in:
1 parent
37d7949304
commit
ae526ecddf
2 files changed
+10
No files matched your search
@@ -79,6 +79,13 @@ import GameController
|
|||||||
|| gamepad.dpad.down.isPressed
|
|| gamepad.dpad.down.isPressed
|
||||||
|| gamepad.dpad.left.isPressed
|
|| gamepad.dpad.left.isPressed
|
||||||
|| gamepad.dpad.right.isPressed
|
|| gamepad.dpad.right.isPressed
|
||||||
|
|| gamepad.buttonA.isPressed
|
||||||
|
|| gamepad.buttonB.isPressed
|
||||||
|
|| gamepad.buttonX.isPressed
|
||||||
|
|| gamepad.leftShoulder.isPressed
|
||||||
|
|| gamepad.rightShoulder.isPressed
|
||||||
|
|| gamepad.leftTrigger.value != 0
|
||||||
|
|| gamepad.rightTrigger.value != 0
|
||||||
|| gamepad.rightThumbstick.xAxis.value != 0
|
|| gamepad.rightThumbstick.xAxis.value != 0
|
||||||
|| gamepad.rightThumbstick.yAxis.value != 0
|
|| gamepad.rightThumbstick.yAxis.value != 0
|
||||||
|| gamepad.leftThumbstick.xAxis.value != 0
|
|| gamepad.leftThumbstick.xAxis.value != 0
|
||||||
|
|||||||
@@ -328,6 +328,8 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
|
|||||||
[self liftMetalVideoViewIfNeeded:0];
|
[self liftMetalVideoViewIfNeeded:0];
|
||||||
|
|
||||||
isInputingText = NO;
|
isInputingText = NO;
|
||||||
|
|
||||||
|
[keyInputField removeFromSuperview];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -391,6 +393,7 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
|
|||||||
[keyboardToggleTip removeFromSuperview];
|
[keyboardToggleTip removeFromSuperview];
|
||||||
} else {
|
} else {
|
||||||
Log(LOG_D, @"Opening the keyboard");
|
Log(LOG_D, @"Opening the keyboard");
|
||||||
|
[self addSubview:keyInputField];
|
||||||
// Prepare the textbox used to capture keyboard events.
|
// Prepare the textbox used to capture keyboard events.
|
||||||
keyInputField.delegate = self;
|
keyInputField.delegate = self;
|
||||||
keyInputField.text = @"0";
|
keyInputField.text = @"0";
|
||||||
|
|||||||
Reference in new issue
Block a user