Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Need to send a key up, silly.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 7, 2011
1 parent 78290b4 commit 6cf3718
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/video/uikit/SDL_uikitview.m
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6cf3718

Please sign in to comment.