use sdl text input event