Implement SDL_TEXTINPUT