SDL2: added support for SDL_TEXT_INPUT