For text input, use the SDL events, which contain the decoded strings. Still handle keypresses for non-text input.