Allow disabling SDL_IPHONE_KEYBOARD in iOS builds
This commit is contained in:
parent
8a91a76148
commit
42b825029c
2 changed files with 3 additions and 1 deletions
|
@ -86,10 +86,12 @@ UIKit_CreateDevice(int devindex)
|
|||
|
||||
/* !!! FIXME: implement SetWindowBordered */
|
||||
|
||||
#if SDL_IPHONE_KEYBOARD
|
||||
device->SDL_HasScreenKeyboardSupport = UIKit_HasScreenKeyboardSupport;
|
||||
device->SDL_ShowScreenKeyboard = UIKit_ShowScreenKeyboard;
|
||||
device->SDL_HideScreenKeyboard = UIKit_HideScreenKeyboard;
|
||||
device->SDL_IsScreenKeyboardShown = UIKit_IsScreenKeyboardShown;
|
||||
#endif
|
||||
|
||||
/* OpenGL (ES) functions */
|
||||
device->GL_MakeCurrent = UIKit_GL_MakeCurrent;
|
||||
|
|
|
@ -30,10 +30,10 @@
|
|||
|
||||
#if SDL_IPHONE_KEYBOARD
|
||||
#include "keyinfotable.h"
|
||||
#endif
|
||||
#include "SDL_uikitappdelegate.h"
|
||||
#include "SDL_uikitmodes.h"
|
||||
#include "SDL_uikitwindow.h"
|
||||
#endif
|
||||
|
||||
@implementation SDL_uikitview
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue