The SDL forums have moved to
This is just a read-only archive of the previous forums, to keep old links working.

SDL Forum Index
Simple Directmedia Layer Forums
Problems with the onscreen Android keyboard

Joined: 01 Dec 2016
Posts: 16
On some Android devices (like Nexus 7 2012) sometimes, when using SDL_StartTextInput(), you get a SDL_WINDOWEVENT_FOCUS_LOST event. This can cause trouble on desktop games which rely on seeing if you have a focus, that are ported to Android. Maybe that event shouldn't be generated on Android, since the main events loop should be paused anyway while losing focus?