mirror of
https://github.com/yawut/SDL.git
synced 2026-08-24 09:45:09 -05:00
Need to send a key up, silly.
This commit is contained in:
@@ -304,6 +304,7 @@
|
||||
- (BOOL)textFieldShouldReturn:(UITextField*)_textField
|
||||
{
|
||||
SDL_SendKeyboardKey(SDL_PRESSED, SDL_SCANCODE_RETURN);
|
||||
SDL_SendKeyboardKey(SDL_RELEASED, SDL_SCANCODE_RETURN);
|
||||
[self hideKeyboard];
|
||||
return YES;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user