mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 19:20:46 +00:00
iOS: Fix on-screen keyboard, broken in r5625.
git-svn-id: https://svn.eduke32.com/eduke32@5634 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
6634845c35
commit
e07fff7d64
1 changed files with 8 additions and 2 deletions
|
@ -51,16 +51,22 @@ extern int32_t voting;
|
|||
FORCE_INLINE void WithSDL2_StartTextInput()
|
||||
{
|
||||
#if defined EDUKE32_TOUCH_DEVICES && defined SDL_MAJOR_VERSION && SDL_MAJOR_VERSION > 1
|
||||
// SDL_StartTextInput();
|
||||
# if defined __ANDROID__
|
||||
AndroidShowKeyboard(1);
|
||||
# else
|
||||
SDL_StartTextInput();
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
|
||||
FORCE_INLINE void WithSDL2_StopTextInput()
|
||||
{
|
||||
#if defined EDUKE32_TOUCH_DEVICES && defined SDL_MAJOR_VERSION && SDL_MAJOR_VERSION > 1
|
||||
// SDL_StopTextInput();
|
||||
# if defined __ANDROID__
|
||||
AndroidShowKeyboard(0);
|
||||
# else
|
||||
SDL_StopTextInput();
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue