Search found 4 matches

by dottostring
Sun Mar 11, 2018 8:47 pm
Forum: iPhone Port
Topic: Implemented Smart Keyboard support for iPad Pro
Replies: 13
Views: 18512

I apologize, replace the above with this for better functionality between games it appears: - (void) upArrow: (UIKeyCommand *) keyCommand { // [self resignFirstResponder]; [softKeyboard handleKeyPress:273]; } - (void) downArrow: (UIKeyCommand *) keyCommand { [softKeyboard handleKeyPress:274]; } - (...
by dottostring
Sun Mar 11, 2018 8:21 pm
Forum: iPhone Port
Topic: Implemented Smart Keyboard support for iPad Pro
Replies: 13
Views: 18512

Directly under SofKeyboard init function, add --> - (NSArray *)keyCommands { UIKeyCommand *upArrow = [UIKeyCommand keyCommandWithInput: UIKeyInputUpArrow modifierFlags: 0 action: @selector(upArrow:)]; UIKeyComm...
by dottostring
Sun Mar 11, 2018 7:16 pm
Forum: iPhone Port
Topic: Implemented Smart Keyboard support for iPad Pro
Replies: 13
Views: 18512

I have decided to share my solution. I couldn't wait! In file ios7_keyboard.mm: Change initWithKeyboard to this -> - (id)initWithKeyboard:(SoftKeyboard *)keyboard { self = [super initWithFrame:CGRectMake(0.0f, 0.0f, 0.0f, 0.0f&...
by dottostring
Tue Mar 06, 2018 12:51 am
Forum: iPhone Port
Topic: Implemented Smart Keyboard support for iPad Pro
Replies: 13
Views: 18512

Would you be will ing to share the changes and in what files you made them? I don't see a pull request and use an iPad Pro with Smart Keyboard. Thanks in advance!