Fixed bug #4843 - Can not get the ime candidatelist like chinese/japaness input method

This commit is contained in:
Sylvain 2021-10-17 23:17:54 +02:00
parent 7fb4364391
commit ccb12457f9
No known key found for this signature in database
GPG key ID: 5F87E02E5BC0939E
3 changed files with 40 additions and 1 deletions

View file

@ -395,6 +395,17 @@ extern DECLSPEC SDL_bool SDLCALL SDL_AndroidRequestPermission(const char *permis
*/
extern DECLSPEC int SDLCALL SDL_AndroidShowToast(const char* message, int duration, int gravity, int xoffset, int yoffset);
/* Set Android IME Input Type
* Call this method before calling SDL_StartTextInput()
*
* \param type
* 0 normal: use input method
* 1 password (default): can not use input methodjust use english
*
* \returns 0 if success, -1 if any error occurs.
*/
extern DECLSPEC int SDLCALL SDL_AndroidSetInputType(int type);
#endif /* __ANDROID__ */
/* Platform specific functions for WinRT */