[Scummvm-git-logs] scummvm master -> f353e466df2175f10e4328bce3f6a44e295ba305
digitall
dgturner at iee.org
Sun Jul 29 03:49:05 CEST 2018
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
f353e466df IOS: Fix Build due to Smartkeyboard on IPad Pro Patch.
Commit: f353e466df2175f10e4328bce3f6a44e295ba305
https://github.com/scummvm/scummvm/commit/f353e466df2175f10e4328bce3f6a44e295ba305
Author: D G Turner (digitall at scummvm.org)
Date: 2018-07-29T02:55:48+01:00
Commit Message:
IOS: Fix Build due to Smartkeyboard on IPad Pro Patch.
The code provided for Smartkeyboard on IPad Pro seems to be broken, so
am making minor changes to try to fix this.
The following should still function, but this will need testing by an
IOS user with this hardware, if it compiles.
Changed paths:
backends/platform/ios7/ios7_keyboard.mm
diff --git a/backends/platform/ios7/ios7_keyboard.mm b/backends/platform/ios7/ios7_keyboard.mm
index f6d1b59..98696d9 100644
--- a/backends/platform/ios7/ios7_keyboard.mm
+++ b/backends/platform/ios7/ios7_keyboard.mm
@@ -46,9 +46,9 @@
[self setAutocorrectionType:UITextAutocorrectionTypeNo];
[self setAutocapitalizationType:UITextAutocapitalizationTypeNone];
[self setEnablesReturnKeyAutomatically:NO];
- UITextInputAssistantItem* item = [self inputAssistantItem];
- item.leadingBarButtonGroups = @[];
- item.trailingBarButtonGroups = @[];
+ //UITextInputAssistantItem* item = [self inputAssistantItem];
+ //item.leadingBarButtonGroups = @[];
+ //item.trailingBarButtonGroups = @[];
return self;
}
@@ -75,20 +75,19 @@
}
- (void) upArrow: (UIKeyCommand *) keyCommand {
-// [self resignFirstResponder];
- [softKeyboard handleKeyPress:273];
+ [self handleKeyPress:273];
}
- (void) downArrow: (UIKeyCommand *) keyCommand {
- [softKeyboard handleKeyPress:274];
+ [self handleKeyPress:274];
}
- (void) leftArrow: (UIKeyCommand *) keyCommand {
- [softKeyboard handleKeyPress:276];
+ [self handleKeyPress:276];
}
- (void) rightArrow: (UIKeyCommand *) keyCommand {
- [softKeyboard handleKeyPress:275];
+ [self handleKeyPress:275];
}
- (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text {
More information about the Scummvm-git-logs
mailing list