sdl2: keyboard handling: use text input events for console/chat text entry
Merge branch 'sdl2' into sdl2-xcodeproj