sdl2: keyboard handling: use text input events for console/chat text entry