mirror of
https://github.com/yawut/SDL.git
synced 2026-09-08 09:06:29 -05:00
Allow disabling SDL_IPHONE_KEYBOARD in iOS builds
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user