Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Need to send a key up, silly.

  • Loading branch information
slouken committed Nov 7, 2011
1 parent 78290b4 commit 6cf371852a3a3959f86d0aadd1060be0fe3ebfed
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/video/uikit/SDL_uikitview.m
@@ -304,6 +304,7 @@ - (BOOL)textField:(UITextField *)_textField shouldChangeCharactersInRange:(NSRan
- (BOOL)textFieldShouldReturn:(UITextField*)_textField
{
SDL_SendKeyboardKey(SDL_PRESSED, SDL_SCANCODE_RETURN);
SDL_SendKeyboardKey(SDL_RELEASED, SDL_SCANCODE_RETURN);
[self hideKeyboard];
return YES;
}

0 comments on commit 6cf3718

Please sign in to comment.